Regulations approved by the European Council now mandate that companies, including Apple, must ensure that batteries in the iPhone and other products are replaceable by users.
The regulation of the European Parliament and the Council will apply to all batteries including all waste portable batteries, electric vehicle batteries, industrial batteries, starting, lightning and ignition (SLI) batteries (used mostly for vehicles and machinery) and batteries for light means of transport (e.g. electric bikes, e-mopeds, e-scooters).
Not just phones either.