The EU smartphone repairability law will take effect on 20 June
(energy-efficient-products.ec.europa.eu)
It really sounds great, but I've also read that the law contains zero directions/rules on prices for the replacement parts. So you might be able to get a replacement battery for your 200€ phone, but having to pay 200€ for it.
I man I hope not, and maybe not every company will go out of their way to follow the most malicious interpretation of the law they can (competitors might not, it's still a somewhat competitive market).