The Italian court of Sassari in Sardinia on Friday released former Catalan leader Carles Puigdemont after he was detained Thursday on a European arrest warrant.
The Catalan separatist will have to return to the Italian island for a hearing on October 4, but will be able to leave in the meantime.
Puigdemont, under self-imposed exile in Belgium, was arrested by the Italian border police at Sardinia's Alghero airport Thursday evening.
While the Spanish government said Puigdemont should face justice in Spain, Italy's ministry of justice said it had no power to decide on neither the arrest nor the extradition of the former leader as he is under a European arrest warrant.
Hundreds of supporters of the separatist movement waving independence flags gathered in front of the Italian consulate in Barcelona to demand his release.