There are also laws about how fast you can drive to your restaurant and whether you can assault your employees once you get there. Neither of them have a place in a conversation about the efficacy of food safety laws, nor do the building permits you mention. We have different laws to regulate different domains and they exist largely because someone cut corners in the past and people literally died.