Ignoring at first whether limiting distribution license terms actually relates to abandoning IP rights outright, the local government is the one who defines what rights businesses operating in their jurisdiction have. This, however, does not actually give the EU the ability to force Apple to do anything, as you insist. Apple is able pull out of the market if they feel the market's regulations are too heavy handed, at which point they no longer need to comply with local law. What the foreign company would like to enforce only layers on under the restrictions of local law, not above it.
As for IP license rights over all other law, I think most people are in alignment with a circumstance basis (or, more succinctly, "local law has priority" basis). E.g. most are indeed happy to declare a software license claiming women are not allowed to distribute the software is invalid in the jurisdiction - a company's "IP rights" be damned over a person's human rights, as an example.
As for IP license rights over all other law, I think most people are in alignment with a circumstance basis (or, more succinctly, "local law has priority" basis). E.g. most are indeed happy to declare a software license claiming women are not allowed to distribute the software is invalid in the jurisdiction - a company's "IP rights" be damned over a person's human rights, as an example.