Yeah, unfortunately when there is a dispute in how the law should be read, it goes to the courts. I will say that Apple is at a massive disadvantage even if it's possible for them to win in court because I don't know exactly how the CJEU does things, but generally here in America, there is some debate in judicial philosophies between whether you follow the text, the text and nothing but the text of the law, if you follow the text and the original intent of Congress at the time that they wrote the text, or if you read into the intent of the text and what the text was trying to accomplish.
As far as original intent goes, the EC wrote it, and very recently. There won't be much of a debate if it comes down to that, but if the CJEU is inclined to go straight to the text and question the parties on that, Apple might actually have a decent shot at beating the EU in court, but then theoretically the EC can just rewrite the law and try again and there really isn't anyone that could stop them so… yeah.