Can anyone imagine what the premiums for homeowners insurance would look like for houses built without certification that they were inspected and met with safety codes?
And there it is! The best defense of building codes!
That and perhaps the family that burns up with the house that had the shoddy wiring three or four years after they bought it.
If the structure was properly inspected, there would not be any shoddy wiring. In my professional experience, do-it-yourselfers with little or no working knowledge of electrical systems usually are the culprits in house fires caused by faulty wiring.
I saw one case where, instead of an approved junction box, a do-it-yourselfer used a Copenhagen tobacco can. Another case was where a 220 volt subpanel was installed for an electric dryer. The do-it-yourselfer used a cigar box. I failed a home with a fireplace where the fire box was only seven inches deep. A do-it-yourselfer addressed the problem by installing a range hood (the type of hood you would see over a stove in the kitchen) to the front of the fireplace.
All these mistakes, and tragedies, could be easily avoided by calling the local building code enforcement agency. But some folks seem to see "freedom" in making mistakes that ultimately endanger themselves, their neighbors and first responders. Stupid attitude, isn't it?