Although I think you're trying to use these examples to highlight that regulation can indeed be valuable (and to insinuate that such an idea should be obvious to anyone), I think that even these examples have subtlety. See the following article for an interesting exploration of how building regulations contribute substantially to urban blight in America: https://granolashotgun.com/2017/11/13/mind-the-gap-2/