Replaceable batteries for smartphones is a non-issue as far as I'm concerned. It's easier than ever to charge phones almost anywhere and most batteries are good enough to last a day or more even with heavier use.
Except when they swell up and become dangerous.
The likelihood of every needing to replace a battery more than once in a smartphone is quite low.
True. Most people don't keep them long enough to require a second swap.
I'll take having a smaller device with better water resistance over one where I can theoretically change the battery whenever I want. I suspect that most consumers feel exactly the same.
I'm not convinced there's any reason you can't have both. As far as I can tell, the main thing preventing easy battery swaps on smartphones is the label on the back case with the IMEI and stuff.
As long as there isn't any legal compliance reason why that has to be on the back of the phone after the repair, you could make battery change-out as simple as "Remove some number of screws on the side, lift the sealed back off like a giant wristwatch, thus disconnecting the battery that's glued to the back, attach a new back with a new battery and new rubber seals, and put the screws back in."
The only challenging parts are designing a self-aligning connector between the battery and the motherboard (if you make the distance between contacts big enough, this is just trivial spring contacts, so when I call it "challenging", I'm being generous) and convincing the companies to stop making the back case and the sides as a single piece and spend an extra half cent per unit on a silicone seal strip between the two. Oh, and convincing the companies that user-visible screws is a good thing instead of a design horror, because form-over-function has been the biggest plague on the tech industry since the 1990s. The point is that it's more a "We don't want to" problem than a "This is genuinely hard" problem.
And even if there's a compliance reason why the numbers have to be on the back case, you could make part of the back case permanent, or make it possible for people to mail order the part customized for their device, or order iron-on decals, or... there are various ways to solve that problem.
For anyone unconvinced should the EU also mandate that the RAM in smartphones be user replaceable as well?
That would be a disaster. There are real power and performance wins from having RAM on-die. And by the time you need more RAM, you'll probably want a newer CPU. Now if you mean flash *storage*, then... maybe.