A Polish judge has refused to extradite a Ukrainian citizen – suspected by Germany of sabotaging the Nord Stream gas pipelines in September 2022 – arguing that if Ukraine was responsible for the attack, then it was a just act.

Volodymyr Zhuravlyov, who was brought to Warsaw District Court in handcuffs, was detained in Poland last month on a European arrest warrant.

Judge Dariusz Lubowski ordered his release, after a ruling that was met with a ripple of surprise from the crowd in court and a smile from the man in the dock.

Mr Zhuravlyov, along with others, is suspected of planting explosives deep beneath the Baltic Sea on the pipelines leading from Russia to Germany.

Blame for the blasts, which crippled a long-controversial energy supply line from Russia to Germany, initially focused on Moscow until signs of Ukrainian involvement began to emerge. Officials in Kyiv have repeatedly denied any role.

Extradition cases within the EU are usually quick and straightforward, but the Nord Stream case is proving to be very different.

Polish Prime Minister Donald Tusk, whose government is a key ally of war-torn Ukraine, immediately posted on X that the ruling was right. Case closed, he wrote.

Inside the giant district courthouse in Warsaw, Judge Lubowski announced his decision to the suspect, his family, and legal team – as well as a large cluster of TV cameras.

In a long and passionate speech, he said he was considering only the request to send Mr Zhuravlyov to Germany, not the substance of the case itself. However, he made it clear that the context of the war in Ukraine was critical.

The judge described Russia's invasion as a bloody and genocidal attack and argued that Ukraine had the legal right to defend itself. He went on to state, If Ukraine and its special forces… organised an armed mission to destroy enemy pipelines – which the court does not prejudge – then these actions were not unlawful. On the contrary, they were justified, rational, and just.

He stated that the attacks had deprived the enemy of billions of euros paid by Germany for gas and had weakened Russia's military potential.

Ultimately, he ruled that Mr Zhuravlyov would be released from custody and that he would also receive compensation from the Polish state. Mr Zhuravlyov's wife expressed relief, stating, For me, as a Ukrainian, it was very important to hear that he understands us.

Volodymyr Zhuravlyov is not the only suspect concerning the Nord Stream incident, as another Ukrainian man is also facing similar accusations in Italy.

Germany's foreign minister commented on the ruling, respecting the decision and clarifying that it was not the government's role to influence the courts.