You guys are missing the point. There are many AHJs out there. Not just one for each job. We have to satisfy ALL of them. One doesn't over-rule another unless the first works directly for the second (the building official is the boss of assistant BOs and inspectors). The fire marshal does not usually work for the BO, nor vice-versa. Federal inspectors have their own rules, too.
You could satisfy the building code AHJ, but still run afoul of another AHJ in the area of federal ADAAG or health code or historical district, or zoning, or ???