Give that a try and let us know how that works out for ya. If a code, ordinance or law is a significant source of revenue, there's no way they're going to change it.
Meanwhile, how can anyone justify coming on your land and stealing your belongings? If you are in violation, the municipality must send a letter stating the offense and give you the opportunity to correct it yourself before they take action. Codes or no codes, they can't just show up and take what belongs to you off your property, especially on the whim of some a-hole neighbor.