Remember that a model code is only a model. The International Residential Code says an exemption never lets work break any other law of the jurisdiction. Zoning, critical areas and lot rules can still apply to a yard structure that skips a building permit.
Unsure how to read a rule like this? See what to ask the city before you build.