The court frequently ruled in favour of Polish legislation rather than EU law and the EU accused Poland’s highest court of being too close to the nationalist political power of the time.

It helped impose a near-total abortion ban under PiS and was ruled to have failed to meet European standards of judicial independence by the EU’s top court last December.

The PiS reforms led the EU to impose fines on Poland.

Mr Tusk wrote on Friday evening: “Restoring the rule of law is our duty. After years of Law and Justice’s lawlessness, this is a difficult, sometimes painful process that requires decisive action. There is no other way.”

Tom Rose, the US ambassador to Poland, warned all sides: “Don’t take any action that could provoke violence or further escalation.”

“The last thing Poland needs is a confrontation that spirals into something far worse,” he said.

Nigel Farage, leader of the Reform Party in the UK, wrote on X: “Tusk and his EU fanatics are bad people.”

Mr Tusk’s government has been trying for weeks to force out the court’s judges, but government efforts to reform the judiciary have been blocked by two successive presidents aligned with PiS, including Mr Nawrocki.

The judges were appointed by the previous PiS administration that ruled from 2015 to 2023.