The European Court of Human Rights (ECHR) ruled on Tuesday that Russia’s legislation on “foreign agents” violated the rights of the groups designated as such and ordered Russia to pay many of them compensation.

Russia uses the term “foreign agents,” which carries Cold War connotations of espionage, to label organizations and individuals it deems to be engaging in political activity with foreign support.

Foreign agents are required by law to label their publications with a lengthy disclaimer, and are subjected to a costly and burdensome regime of reporting their income and spending, and financial audits.

In its ruling in the case of 73 Russian groups designated as foreign agents, Europe’s top human rights court said the law violated freedom of assembly and association.

The court said the use of political activity as a criterion to designate groups as foreign agents produced “incoherent results and engendered uncertainty among NGOs wishing to engage in civil society activities relating to, in particular, human rights or the protection of the environment or charity work.”

Kremlin spokesperson Dmitry Peskov said he would not comment on the ruling because parliament had ended the European Court of Human Rights’ jurisdiction in Russia with legislation signed off last week.

“Russia no longer implements these decisions,” he told reporters on a conference call.

Russian human rights groups Agora, one of the applicants in ECHR case, hailed the ruling as a “big victory.”

“The court fully agreed with the applicant organizations that the law on foreign agents is not only unpredictable but also hinders the legitimate work of civil society,” Agora lawyer Kirill Koroteyev said.

The ruling comes a week after the lower house of Russia’s parliament gave initial approval to a bill further tightening the “foreign agent” legislation at a time of heightened distrust of the West since Russia sent troops into Ukraine on Feb. 24.

Russia adopted its first such law in 2012. It has since been expanded to include non-profit organizations, media outlets and individual Russian citizens including journalists and activists.