Well, yeah, isn't that just enforcing the codes? If you didn't have to go back and fix it, you could build as many sloppy houses as you want and the codes would be meaningless.
We as a society have strong reasons to provide a glide path towards reducing that moral hazard created by old entrants.