Inspected electrical has no relationship to code compliance.
We have HUD housing & municipal combination inspectors, competely clueless of GCFI replacement code, much less Tamper Resistant, or AFCI code. After losing budgets for electrical specialists, and subsequent years of incompenence, Permits & Inspection case precident enjoys indemnity from litigation risk, immune to procecution, except for malicious intent.
Weather its missing batteries in the smokes, or missing A/GCFI’s with the granite counter tops, the windfall goes to the insurance industry denying claims for cause. The inspectors are not liable, and the fool owners suffer a complete loss without a licensed GL policy to save them.
In my State a Form exists for reporting the unlicened, unpermitted, and illegal advertising. Many contractors submit the forms to the License Board hoping its creates some kind of barrior to entry into the market.
The enforcement division protects licensed handypersons, usually General contractors without an electrical specialty. In doing so, the board ignores several labor & advertising laws, and turns a blind eye to laborers severely screwing up commercial & domestic electrical, which go undetected by the clueless-combination inspectors.