“Extradition on the accusation of misappropriation of public funds is permissible; extradition on the accusation of rebellion is not permissible,” the superior regional court of Schleswig-Holstein state said in a statement.
Puigdemont was detained in Germany in late March on a European arrest warrant from Spain for his role in Catalonia's failed independence bid last October.
“We will fight to the end, and we will win,” tweeted Puigdemont in response to the news.
“We have defeated the main lie sustained by the state,” Puigdemont tweeted.
“The German justice system denies that the referendum on October 1 was rebellion,” he said, referring to the independence vote that went ahead despite a court ban and was marred by police violence.
“Every minute that our companions spend in prison is a minute of shame and injustice.”
Madrid wants Puigdemont to return to Spain so he can face trial for alleged rebellion, which carries a sentence of up to 30 years.
A court in Schleswig-Holstein had released him on bail on April 6 after finding that he could not be extradited for rebellion – which is not punishable under German law.
The court argued that the closest legal equivalent, high treason, did not apply because Puigdemont’s actions were not accompanied by violence.
It reiterated that reasoning in its ruling on Thursday.
“The alleged actions by the former Catalan government leader do not amount to the German crime of high treason nor the charge of breach of the public peace,” the court said.
“The amount of violence required for the charge of high treason was not seen in the altercations in Spain. Breach of the public peace does not apply because Carles Puigdemont was only involved in carrying out the (independence) referendum.”
The court noted that European legal practice stipulates that the receiving country – in this case Spain – can try the accused only on the charges approved in the extradition.
This means Spain could not continue legal proceedings against Puigdemont on rebellion charges after his return from Germany.
German prosecutors said in a separate statement that they would decide whether to formally approve the transfer of Puigdemont to Spain in the coming days.