The EU has the right to mandate rules on what corporations sell to its population. No one is forcing Apple to keep selling phones in the EU. They could even create a version of iPhone exclusively for them. Hopefully that hasn't been the case and finally we all have USB-C. Thanks EU.
Hopefully they start being much more strict about repairability and openness.
And yet, every time Apple gives in to the demands of the authorities of the largest market in the world, unsurprisingly (even if Europe is only Apple's second region per revenue, because they lag very much behind Android there).
Anyone who thinks Apple will give up about 100 billion dollars of revenue to spite the EU is not being realistic.
I don't see how EU has a "right" to decide what the population can buy or not. Sounds like tyranny to me.