Belgian judicial authorities have suspended the arrest warrant targeting former Catalan leader Carles Puigdemont because of his immunity as a European lawmaker, his lawyer said.

Paul Beckaert said that the Belgian judge in charge of the case also suspended the warrant issued against former Catalan cabinet member Toni Comin.

The two are wanted in Spain for their role in a 2017 independence bid by the Catalan government and politicians, which Spain said was held illegally.

READ MORE: Junqueras should be released, Spain's attorney general recommends

They fled to Belgium after the attempt failed and were elected to the European Parliament in May as representatives of Catalan independence parties from Spain.

Last month, the European Union's top court overturned a decision preventing Puigdemont and Comin from taking their European Parliament seats.

It is not clear, however, if they will finally be allowed to take them.