This is insane!

By all means, make it a requirement to upgrade when necessary improvements are made.  When I need to replace my roof, for example, make it a requirement that I meet an energy efficiency target for my new roof.

But to make it a requirement before I want to sell, or worse, have to sell?  That doesn't make a whole lot of sense.  Like, suppose my employer decides to transfer me to another city, and I have to be there within 30 days.  Am I really going to be able to get all these renovations done before I go?