"Here in my area the building code has nothing to do with the NEC."

Perhaps you should review your building code and review the process that adopted that code and the process that adopted the NEC.

You will find they are connected. You will find that my belief outlined above is a reasonable interpretation of that connection.