A court on Thursday ordered the conditional release of former Catalan leader Carles Puigdemont, who was detained last month on a European arrest warrant issued by Spain.
Extradition proceedings on the corruption charges will continue.
It was not immediately clear when Puigdemont would leave the prison in Neumuenster where he has been held since his arrest on March 25.
This afternoon, the German court said his extradition was possible on the basis of the corruption charges - but not on the more serious charge of rebellion.
The court has also ruled that Puigdemont can be released on bail of €75,000, pending the final decision.
Spanish authorities accuse Puigdemont of rebellion and misuse of public funds in organising an unauthorised referendum previous year on the region's secession.More news: Unboxing: Nokia 8 Sirocco
"The actions for which the subject is being prosecuted would not be criminal under German law", the court spokeswoman said.
"The government is sure that Spain's justice system will take the appropriate measures given these new circumstances, to ensure respect for the laws of our country", the source added.
He fled to Belgium after Spain's prime minister removed him from office and a sedition investigation was launched against politicians who led Catalonia's declaration of independence in October.
Judge Carmen Lamela of Spain's National Court [official website, in Spanish] on Wednesday charged [charges, PDF, in Spanish] the former Catalan chief of police, Josep Lluís Trapero, with sedition [penal code, in Spanish] for his role in the 2017 independence referendum [JURIST report].
The separatists' maneuvers come after a string of setbacks for their ambitions since October, with Spanish courts blocking moves toward independence and bringing charges against the movement's leaders.
The Spanish government's quelling of the October 1 independence referendum drew worldwide condemnation and outrage, with footage of national police officers and members of the Civil Guardia seizing ballot boxes and violently dispersing voters going viral on social media.