If a real estate licensee provides advice and / or opinions about local zoning code, it could be construed as an unauthorized practice of law. (suburbanrealtorsalliance.com)
It's usually zoning codes that are the problems before building codes though. (tinyhousegiantjourney.com)
New development has to conform to form - based zoning codes that require buildings to be built to the street, rather than across parking lots. (nar.realtor)