How is that?
As it is, that same argument was used by Apple to try to dodge from complying with the demand for having an industry standard for data and charge port/cable - the USB-C.
Planned obsolescence is a thing. Having law put in place to curb it is a good thing.
If you know you can buy something and you know that something will be repairable at least for a decade, it passes confidence to the end user.
Competition is welcome. Innovation as well. Legislation like this just means companies need to share standards and cooperate more and not aim to skin the client in an endless cycle of replacing expensive items that get thrown out before they are worn out.
Buy from China.
I took the gamble because I had the money to spare and never looked back again.
The money I would pay for a set of glasses in my country goes easily over €300. With that amount, I can pay an ophthalmologist appointment, have my eyes checked by a doctor, properly, get the prescription, order two sets of glasses (one as a backup) and still have money to spare.