For sure. I hate excessive regulation, but if companies keep poisoning the well, action has to be taken
Are you sure you need to hire an electrician in your jurisdiction?
I know, for example, the town of Cripple Creek, CO requires all their buildings to be made out of bricks. Pretty annoying. But it's because the entire town burned down twice in the 19th century.
So, maybe, someone in the past killed a bunch of people with bad electrical work.