As a former inspector, there is another side.
Suppose the mechanical inspector signs off on the smoker, and he has no experience with them. Then, down the road, the thing catches fire and the kitchen workers can't get out. Someone dies. And the owner of said hypothetical business says 'well, the inspector approved it'. If he did, and there is a proven flaw that he missed, the City is now on the hook. No inspector should ever sign off on work that he either knows is defective, or does not know enough to properly inspect. The person who screwed this up is the original general contractor, who should have known what needed to be done, and done it. Had that happened, then the restaurant would be open.
It isn't always the governments fault.