For how long? EU is also pretty good at coming after companies. Remember when Apple dodged switching from Lightning when micro-USB was a thing and now they're forced into USB-C?
What was the advantage to me as a consumer if a 2015 iPhone got USB-C? IMO, USB-C wasn’t an advantage over Lightning then. (USB-C was not yet a common connector and most Apple users already had Lightning cables or could get by with the one included with the phone. Apple users had 3 years of orientation-independent convenience before USB-C arrived.)
I still find plugging in the Lightning cable to be easier (less precise alignment needed) than a USB-C and by the time the iPhone 8 arrived with magnetic charging, any charging advantage to USB-C went away.
“Forced into”, as if apple hasn’t been producing literally every other items besides iphones with usb-c, based on their own choices.
Of course if there were a law like that, they will rather point their fingers at the EU, over their users blaming apple for the slight inconvenience of changing.