Sounds like an inspector that is trying to flush the homeowner out of the process and protect the trade. Being a contractor I have always argued somewhat contrary to most in the trade that the homeowner should be able to do anything as long as they are willing to go through the permit/inspection process. About the only thing I can see is not allowing homeowners to do plumbing but even that is a grey area if inspections occur.
Sadly, you have little recourse against an ornery inspector, just say yes sir, no sir, and get him out the door. Starting a pi**ing contest generally leaves you in a far worse position.
Mark