Folks,
Just for everybody's information: The National Electical Code (NEC) is only one of many 'Codes' that are 'under the wing' of the National Fire Protection Agency (NFPA).
The NFPA is not an agency of any government: It was formed by a consortium of insurance companies many decades ago... ...to protect their profits.
The NFPA has lobbied many state governments for a very long time to get the states to legislate their codes into law by using the idea that the codes are there to protect all of us. There is some truth to the fact that the codes actually do a fair job of protecting us from certain hazards like fire (in the case of the NEC and other fire codes); and, from unscrupulous builders (in the case of building codes - this, I know from personal experience).
But... ...the codes are really there to protect the insurance companies against 'loss'; i. e., keep more profits.
So, don't neccessarily blame the local building officials (though some are defenitely overzealous for various reasons - power, job protection, etc.).
I work for a local government agency (no, I'm nowhere near any code enforcement - I service internal customers with their various communications [voice and data network support] needs) and am often very frustrated by some of the things our 'leaders' require us to do. Like most (seriously - yes - most!) of my co-workers, I also try very hard to limit any negative impact when ordered to do something stupid (quite often) - I'm also a taxpayer!
It's really your state politicians (legislators), and no one else.
Regards, JLB