Law enforcement can only act when laws are broken, that's the point. And building codes, zoning codes, that kind of stuff isn't a matter for law enforcement aka police unless someone gets seriously hurt or killed anyway - but if what happened was legal, it's considered an "act of God".