WARSAW — The European Union’s highest court introduced measures on Wednesday to halt Poland’s widely criticized disciplinary regime for judges, the latest blow in a yearslong battle with the country’s governing Law and Justice party over what critics denounce as attempts to erode the independence of the judiciary.

In a temporary move that analysts said was highly likely to become permanent in the future, the Court of Justice of the European Union ordered the suspension of a new disciplinary chamber of the Polish Supreme Court, which has a politically selected membership and extraordinary powers to prosecute judges who oppose the government.

“Judging from the past rulings of the European tribunal, we can expect that today’s decision is a preview of a future conviction for the illegal persecution of the Polish judges by the government,” said Judge Krystian Markiewicz, president of Iustitia, the biggest association of judges in Poland. “This decision is just about the disciplinary measures, but it’s clear that the court questions the state of the rule of law in Poland in general.”

Still, Poland’s officials responded with contempt, suggesting they might not follow the court’s order. A deputy justice minister, Sebastian Kaleta, said in a statement posted on Twitter that the European court had “no power to evaluate or suspend constitutional organs of any member states.”