Hungary’s imposition of €3 million in penalties on Google Ireland for failure to register to pay an advertising tax was unfair and in violation of EU law, the European Court of Justice ruled Tuesday.

Imposing immediate, daily penalties on a non-Hungarian company constitutes “a difference in treatment” and “a restriction on the freedom to provide services” that violates Article 56 of the EU’s founding treaty, Europe’s highest court ruled.