Suppose you have passed your right to repair. I can design a device so that it takes unreasonable effort and eqipment to repair it. Makes it more expensive to repair than to buy a new one. You would have achieved nothing.
This has already happened - have a Samsung A50 with a broken screen, and you can buy a new screen for £40. However the phone is basically a glue sandwitch, and it costs the same to repair and to buy a new one.
On another note, Microsoft Surface laptop is unrepairable - https://www.google.com/amp/s/www.theverge.com/platform/amp/2...
If you pass right to repair without any provisions for ease of repair, it will be a toothless, useless tragedy of a law.