How Péter Magyar and a Landmark EU Court Ruling Reversed Hungary’s Anti-LGBTQ+ Laws

Hungary’s new government under Péter Magyar is rapidly dismantling Viktor Orbán’s anti-LGBTQ+ legal framework, lifting assembly bans and restoring adoption rights for same-sex couples. Backed by a historic Court of Justice of the EU ruling on core Union values, this interplay between electoral change and European constitutional law establishes a precedent for dismantling illiberal policy across Europe.
The significance of this reversal extends far beyond Hungary’s domestic politics. The interaction between an electoral shift in Budapest and a precedent-setting legal doctrine in Luxembourg has created a functional mechanism for undoing policies that once appeared permanently embedded in the state.
From political confrontation to legal reversal
The reversal is unfolding unusually quickly.
In September, Magyar’s government announced statutory revisions removing provisions that prohibited the “promotion” of homosexuality and ending restrictions on adoption by same-sex couples. That followed the restoration of the right to assemble publicly: police authorised Budapest Pride in May, allowing tens of thousands of people to gather for the June 27 march without the restrictions imposed under the previous government.
The contrast with 2025 is stark. In March that year, Orbán’s government amended assembly legislation to prohibit gatherings considered incompatible with the 2021 “child protection” law. The legislation targeted events or activities regarded as promoting homosexuality or gender reassignment to minors. Organisers faced potential prison sentences, participants could be fined up to 200,000 forints, and police were authorised to use facial recognition technology to identify those attending.
Yet the attempt to suppress Budapest Pride produced the opposite political effect. More than 100,000 people attended the June 28, 2025 march, which was organised by Rainbow Mission and the Budapest mayor’s office. Police ultimately did not intervene violently, and the event became a large anti-government demonstration.
That episode mattered because it exposed a gap between the legal machinery of the state and the willingness of part of Hungarian society to accept its use against public assembly. Less than a year later, Fidesz lost power.
The sequence does not establish a simple causal chain between Pride and the election. It does show how a policy designed to consolidate a particular conception of national values became part of a much broader confrontation over the direction of the Hungarian state.
The court ruling changed the European dimension
The decisive institutional development came before the election.
On April 21, 2026, the CJEU ruled in Commission v Hungary, Case C-769/22, that Hungary’s 2021 legislation violated multiple provisions of the EU Charter of Fundamental Rights, including human dignity, private and family life, freedom of expression and non-discrimination. The court also found breaches involving single-market services and data protection.
But the most consequential element was constitutional rather than sectoral.
The Full Court held that Hungary had committed an autonomous violation of Article 2 of the Treaty on European Union. Article 2 sets out the values on which the Union is founded. Until this ruling, EU action against democratic backsliding had generally reached those values through more specific legal provisions.
That distinction matters.
The EU has previously challenged national measures through mechanisms covering areas such as employment discrimination, judicial protection or the functioning of the single market. The 2012 judicial retirement case, for example, was pursued under EU rules on age discrimination. Rule-of-law cases involving Poland and Hungary similarly connected Article 2 values to Article 19 of the treaty, which concerns effective judicial protection.
Case C-769/22 goes further. It establishes Article 2 itself as an independent legal basis for infringement proceedings under Article 258 of the Treaty on the Functioning of the European Union.
The practical consequence is a wider constitutional boundary around national lawmaking.
A different kind of constraint on national sovereignty
For governments that have built political identities around national control over social policy, the ruling creates a new legal risk.
The central issue is not that every disagreement over cultural policy suddenly becomes an EU matter. Rather, national legislation can no longer be insulated from EU scrutiny simply by being framed as an expression of domestic values, child protection or national constitutional identity when it conflicts with the Union’s foundational commitments.
That is particularly important for laws affecting marginalised groups.
Orbán’s government had spent 16 years constructing an illiberal political model around traditional Christian values. Restrictions on gender recognition, same-sex adoption and public expression formed part of that broader approach. The 2021 law and the subsequent assembly restrictions turned the dispute into a direct confrontation between Hungary’s domestic political project and the legal order of the EU.
The CJEU ruling changes the terms of that confrontation. Brussels no longer has to treat each measure as an isolated regulatory dispute when the legislation forms part of a systematic breach of fundamental values.
For the European Commission and the court, this creates a potentially powerful enforcement tool. For member states, it narrows the space in which national governments can use legislation against social pluralism while claiming that the matter belongs exclusively to domestic politics.
The precedent will matter beyond Hungary.
Electoral change made the legal remedy usable
Judicial power alone did not reverse Hungary’s laws.
The April 2026 election was the other half of the equation. Magyar’s centre-right Tisza party defeated Fidesz after campaigning on an anti-corruption, pro-European platform and promising to restore democratic standards.
That gave a new government both a domestic mandate and a European legal basis for dismantling measures inherited from Orbán.
This combination is politically significant. A government does not need to present every reversal as an ideological conversion if it can frame the changes as compliance with binding European law and the restoration of Hungary’s place within the EU’s institutional framework.
That makes the process less politically costly than an abrupt attempt to redefine Hungary’s entire social model.
It also changes the relationship with Brussels. The previous confrontation had contributed to strained bilateral relations and endangered EU funding. The new government has an interest in repairing those relations, while the CJEU judgment provides a legal framework for doing so.
The result is an unusual form of democratic restoration: domestic electoral change activates a supranational legal mechanism, and the two reinforce one another.
Reversing legislation is not the same as reversing its effects
The statutory changes address the most visible legal restrictions. They do not automatically erase the institutional and social consequences of 16 years of policy.
The June 2026 Pride march demonstrates the difference between formal permission and the experience of exercising a right after years of restriction. The restoration of assembly rights can happen through a police authorisation. Rebuilding confidence in those rights is a longer process.
The same applies to adoption and public expression. Removing statutory barriers changes the legal position of same-sex couples and LGBTQ+ organisations, but it does not by itself undo years of political messaging or administrative practice.
There is also a constitutional question hanging over the reversal. If a future government sought to revive comparable restrictions, the CJEU precedent would provide a significantly stronger basis for EU intervention than existed before April 2026. Yet the durability of any democratic restoration still depends partly on domestic politics.
The Hungarian case therefore offers neither a purely judicial story nor a purely electoral one.
Its importance lies in the interaction between the two. The court established a new legal boundary; voters produced a government willing to operate within it. Either element without the other would have produced a different outcome.
The bigger change is consequently taking place in the relationship between national sovereignty and European constitutional law. Hungary’s experience suggests that an EU member state can move a long way towards an illiberal model, but it cannot assume that laws justified through national values remain beyond supranational constitutional scrutiny. The unresolved question is how far that new boundary can reach when a future government, rather than the current one, decides to test it.
Sources: Reuters, Washington Blade, HRW, The Guardian
