Top court spurns Hungarian anti-LGBTQ law as violation of EU values
A law pitched as protecting kids ended up at the center of a major rights ruling, with EU judges saying it crosses a fundamental line — just as Hungary is beginning a big political transition.

(CN) — Europe's top court on Tuesday quashed Hungary's attempt to dress up its LGBTQ crackdown as child protection, finding the law in breach of the European Union's fundamental rights.
Hungary's 2021 law was sold as protecting children, but it also set tight limits on how homosexuality and gender identity can be shown or even talked about. Formally aimed at tightening rules around offenses involving minors, it rewrote education, media and advertising laws to bar content portraying or "promoting" homosexuality or gender transition for under-18s.
The European Commission challenged it, arguing the rules violate EU law across media, services, data protection and basic rights.
Judges at the Court of Justice of the European Union stepped in — and came down firmly on the side of the EU in what the bloc hailed as a landmark ruling.
The court said the law doesn't just regulate content, it sidelines it. In classrooms, on screens and in ads, material involving LGBTQ identities is either blocked outright or pushed to the margins, especially for minors.
In practice, the court found, the rules single out a specific group and limit how its members can exist in public life, cutting into expression, privacy and equal treatment all at once.
For the judges, this isn't simply about content rules, but about the signal the law sends. The Hungarian law, they said, "results in the stigmatization and marginalization of non-cisgender or non-heterosexual persons, solely on the ground of their gender identity or sexual orientation."
They continued: "That law also makes an association between the fact of not being cisgender or not being heterosexual, on the one hand and being convicted of pedophilia, on the other, suggesting that non-cisgender or non-heterosexual persons constitute a fundamental threat to Hungarian and European society, an association which is capable of encouraging the development of hateful conduct towards those persons."
That link — tying identity to danger — is where the court draws a hard line. The judges say the law doesn't just restrict content, it pushes an entire group out of view and into the margins, reinforcing their "invisibility" in society in a way that clashes with the EU's core commitment to dignity, equality and basic rights.
They ground it in what the European Union is supposed to stand for: "The union is founded on the values of respect for human dignity, freedom, democracy, equality, the rule of law and respect for human rights, including the rights of persons belonging to minorities. These values are common to the member states in a society in which pluralism, non-discrimination, tolerance, justice, solidarity and equality between women and men prevail."
That's what gives this part of the ruling its bite. Hungary, the court says, didn't just push legal limits — it ran straight into the baseline values every member state signs up to.
Budapest defended the measures as narrowly tailored child protection. The European Commission pushed back, saying the law breaks EU rules across media, services, data protection and fundamental rights, with more than a dozen EU countries and the European Parliament backing its case.
The court sided with that view. Judges found the restrictions go beyond what EU law allows, interfering with the free movement of services and failing basic tests of necessity and proportionality, while also breaching rules governing online platforms, the internal market and audiovisual media.
Hungary also tried to lean on national identity, arguing it should have room to regulate sensitive cultural and educational issues. The court rejected that outright, making clear that flexibility stops where EU minimum standards begin.
Over the past few years, Hungary hasn't just passed one controversial law. It has steadily tightened rules affecting LGBTQ people in everyday life. Legal gender recognition was rolled back, making it impossible for transgender people to change their gender on official documents. Public messaging has been restricted too, with limits on LGBTQ-related content in schools, media and advertising. More recently, moves to curb events like Pride have added to concerns.
The ruling also lands at a moment of political change in Budapest. After 16 years in power, Prime Minister Viktor Orbán was voted out earlier this month, with opposition leader Péter Magyar pledging to reset Hungary's relationship with the European Union. But on issues like LGBTQ rights, it remains unclear how far the new government will shift course.
John Morijn, professor of law and politics in international relations at the University of Groningen, said the judgment draws a clear boundary. He pointed to what he described as the court's starting premise that European society is inherently pluralistic, and that laws cannot be used to erase that reality.
"This ruling is important for its reaffirmation that equating sexual orientation with crime (pedophilia) stereotypes a whole group," he said. He added that measures that push a group into a forced status of "invisibility" are incompatible with EU law, calling the judgment "a clear red line as to what is acceptable if a European state wants to be an EU member state."
Morijn said the ruling clarifies how the court approaches laws designed to target entire groups, not just individual effects. In his view, it reinforces EU values as a legal tool, not just a political one, potentially enabling stronger action where those values are "manifest and particularly serious[ly]" undermined, and lending support to EU funding rules that tie disbursements to compliance with charter and rule of law standards.
Dimitry Kochenov, lead researcher in the Rule of Law Group at Central European University's Democracy Institute, said the ruling gives real legal force to the EU's core values.
"A handful of leading experts on EU law have been awaiting this clear and well-argued line of reasoning for more than 10 years now," he said. He added the court has now given those values the standing they deserve, "significantly reinforcing the workings of EU constitutionalism against dishonest lawfare, which the Hungarian law amounted to."
A similar point was echoed by advocacy groups. Katrin Hugendubel, deputy director of ILGA-Europe, said the ruling leaves no room to stall and urged Hungary to scrap the law without delay. She added that Hungary "cannot enter a post-Orbán era without repealing this legislation," and said that if Magyar is serious about being pro-EU, he should make it a top priority in his first 100 days in office as part of his EU-facing reforms.
Eszter Polgári, a lawyer at the Hungarian LGBTQI organization Háttér Society, described the ruling as "a historic victory for LGBTQI people in Hungary," adding that the court was clear that "no state can outcast LGBTI people through stigmatizing."
The European Commission also welcomed the outcome. A spokesperson said the court had found Hungary "violated several internal market rules and several fundamental rights," and confirmed a breach of the EU's founding values. The spokesperson added that "the ball is now on the Hungarian side," with responsibility falling on the government to implement the judgment.
The Hungarian government did not respond to a request for comment.
The judges don't spell out a single fix, but they make one thing clear. Hungary's current framework cannot stand under EU law.
As an infringement case, the judgment is final and there is no appeal. Hungary must now comply or risk being hauled back before the court and facing financial penalties.
For now, the message from Luxembourg is simple. Member states can regulate, but they cannot decide who counts.
Courthouse News reporter Eunseo Hong is based in the Netherlands.