Most communities have an appeal process that you can use when you get an unfavorable call by an inspector. The problem with using this process is even if you were to win it takes time for the event to happen. Usually a contractor wants his approved inspection so they can be paid. So many times it's easier to make the repair and get the inspection. I would make the inspector cite the code section of the vilolation and if he can't I would at a minimum let his supervisor know about his ineptness.