If Apple can't work out a legal structure that works, it will be forced to refund for the devices then so the consumer can use the money to buy compliant devices probably from Korea or China. EU can work out special deal with the Asian manufacturers as there will be hundreds of millions of people with cash in hand looking to buy a high end smartphone.
Being messy isn't a worse outcome than US invasion. Europeans aren't rooting to live like Americans or go to wars for America and the tech thingy will be a nuisance at most.
If Apple can't work out a legal structure that work, it will be forced to refund for the devices
How is that going to happen if the US attacked Europe?