Four years ago, the European Commission decreed that Apple should pay €13 billion (just under £12 billion, or $15 billion) in retroactive tax to the Irish state. Unsurprisingly, the company chose to appeal the decision.

The European Court of Justice has now ruled that Apple's agreement with Ireland does not violate the law, and therefore the company is no longer obliged to pay the gigantic sum.

In a statement to Bloomberg, a spokesman for Apple said it welcomed the decision. It should be pointed out, however, that today's decision can be appealed in turn.

For related discussion, read Does Apple pay enough tax?

This article originally appeared on Macworld Sweden. Translation by David Price.