I can't really verify your claims because I don't have time to become an IP lawyer in my spare time. There is also the question of how relevant decisions by US courts about game consoles from eighties are about how the EU can legislate access to a platform that is under antitrust scrutiny.
Look, as far as, "how the EU can legislate" that's entirely for them to decide based upon their own beliefs, laws, and the desire of their member countries. They will literally have their own codified version of anti-trust and case history of what they have decided is anti-competitive. The EU and is member countries proposed and decided to ratify the DMA because they saw something they wanted to change and so they changed it. In case its not clear, they're independent from the US, the US legal system, and US legal precedence. But,
you should understand that already.
That said, my question to you has been regardless of this fact -- the EU has still decided they don't have any problem with code lockout. And that's not just in relation to Apple. They've allowed video game consoles to "lockout code" since the 80's just the same as the US. And they've also allowed Google, Blackberry (RIM), Apple, Microsoft, Nokia to all start using "code lockout" in their mobile phone operating systems. They didn't sue, fine them, or take them to court over anti-trust or anti-competitive concerns. (anyone, please correct me here) That I know, no one or any other entity in the EU has sued Apple over it's code lockout like Epic did in the US. So why would that be?
Anyway, point is code lockout has a history. There is reason for it's existence that isn't just this villainous "corporate greed" easy to jump to narrative. It is
not something that Apple invented just for the iPhone / iPad. And it's been challenged by many businesses and been under constant judicial supervision since it was started back in the 80's. Where companies employing it have over stepped and used it anti-competitively - they've been slapped down. But, the reason why courts still protect and allow for "code lockout" still exists. Apple v Epic is just the latest challenge to have it invalidated. And surprise, surprise, Apple won. Only the anti-steering provision was deem anti-competitive.
if you didn't know, now you will know, because I'm going to guess that you're someone who would be perplexed, maybe even upset, that Google of all "people" the one that openly allows for customization of the Android OS and, more specifically, allows its users to
sideload any application or changes they want -- They were the one to be found by the US legal system to be operating an illegal monopoly and in violation of the US Sherman antitrust act for being anti-competitive. And I'm not talking about in web search -- I'm talking about the Android OS and Android mobile apps. Where as Apple beat the rap and got off nearly scot-free, Google was convicted on all 11 counts that Epic brought against Google in relation to the "Free Fortnite / Project Liberty" just a hair over 4 years ago.
I'm going to guess that you'll have got no clue as to why this was. I mean, they're the GOOD guy here. They specifically allow
sideloading. Where as Apple, defiantly, absolutely does not allow sideloading.
I'll ask you again, since it's pretty relevant. Do you know what happened... do you know what the fallout was from the judges ruling back in the Atari v Activision?