That exemption is from the state code and applies to "work not specifically regulated by a municipal ordinance that is performed in or on a dwelling by a person who owns and resides in the dwelling".
They said it was city code causing their problem.