A baby monitor on your birds at night (secured every night), a good 22lr rifle (or discreet equivalent such as a powerful airgun), and some conibear bucket sets should keep you afloat. Not to mention you may be able to turn some of the pelts for profit.
Not so fast: The OP apparently doesn't have enough land for one chicken. No warrant is needed for that for code enforcement. You do not know what you are talking about.
If that were true, everyone would have privacy fences and animals in town and the town couldn't do a thing about it, rendering the codes void. But it is not true. I have worked in municipal code enforcement. There may be some preliminary expectation to knock and talk, but if there is still...
Actually though... all of those are gray areas, at least where I'm from. There is no magistrate in his right mind who would issue a warrant for arrest because some crabby lady came in and said "MY NEIGHBOR FED MY CAT BACON GREASE!!!" Fertilizing someones grass technically is not vandalism here...
I'm just kidding. I had a black australorp rooster who was very chill and very affectionate toward the hens. I only ever saw him become aggressive toward a cat. He was two years old and would still eat out of my hand, and if I got my hands on him I could hold him on his back and let my 1 year...
Then find a paralegal friend who will send her a letter threatening lawsuit for emotional suffering and gaim lost from the eggs your chickens would have produced over the course of their lifetime if she had not deprived you of them, and the cost of wasted housing.
Stash your chickens with a helpful neighbor and their coop, pass the inspection, then bring your chickens back. Then check the ordinances for as many violations as you can find on your problem neighbor, send her a letter by certified mail entailing each and every one of those violations with...