arseegee ---

The local code (NEC) is the minimum you can build to. It is also the maximum the AHJ can enforce.

To resolve this problem with the inspector, have him write a violation notice, appeal to the appeals board, and the appeal to the local court. (I suspect that is the appeals order in most juristictions.)

Appeals to the local court are often free if you win.

Drill the inspector in court with the same questions and you will prevail.

The inspector will not mess with you in the future.