I agree with the premise of obeying the law, however, before I set up my coop, bought my chickens and quail I researched the law regarding keeping animals in my city. The municipal code in our city has a specific section dealing with animals. It covers dogs, cats, grazing sheep and the like. The only mention of birds (specifically poultry) is in a section under disposal and that is it. When I discovered that I had accidently bought 3 roosters I got rid of them immediately only because I wanted to be a good neighbor. I work hard to keep the smell under control and the flys in check.
Well someone complained about my quail and I received a notice from AC that fowls are not allowed in the city. I called that day and was told the officer would call me back that day, I have still yet to receive a call back. I did get rid of the noisy quail this weekend because I still want to try and be a good neighbor. However, someone mentioned I check the zoning regs and after some lengthy searching I found another code hidden in usage regarding animals (it was not labeled animals) that says I can only have fowl on property twice the size of mine (the only homes in the city that are of that size are upwards of $700,000 - $1,000,000. However, you can have 3 dogs of any size, 3 cats, potbellied pig, pigeons, etc., etc. with no size restriction.
I did not try and intentionally break the law but I guess I am according to the city, but I also found a state law that applies to my situation and the state law specifically mentions that city and county ordinances cannot override the state law.
Many many times there are conflicts in laws and sometimes they are hard to find, in my case they had 2 separate sets of laws and only 1 had a title listing animals. If they had put somewhere in the 'animals' sections to also refer to the zoning code I would have never have set up my operation.
Also keep in mind that Rosa Parks broke the law when she sat up front, would these situations not sometimes be somewhat similar (albeit not as serious or necessary).