The point is that people have different preferences, so the EU should not force people to buy phones with removable batteries. People who want such features can buy those phones, and people who want smaller, thinner phones can buy ones with integrated batteries.
At most the EU should tax externalities like electronic waste, though that would be a rounding error compared to the cost of the phone itself.