Even fire safety is frequently done in an overly onerous and ineffective way, e.g. the double staircase requirement that doesn't apply in many other places because other, more space efficient solutions were found.
I have a friend who is putting in a temporary tent structure for a party on top of a swimming pool. Fire Marshal said it must have a sprinkler system...