There was roughly 10 years of Apple thinking they are the law. Very unfortunate Apple didn't learn from its mistakes.
Still, countries have the last word in what happens inside their borders, and when things don't work as they should, someone is getting wealthier.
However companies should not misunderstand such short term wins, with having a say on the country's ruling.