I have written about situations like this before. When governments insert themselves too directly into land use decisions, whether through tight controls or, as in this case, through direct mandates, the result is rarely satisfactory. Via Overlawyered.
The contents of this blog, this web site, and any writings by me that are linked here, are all my personal commentary. None of it is intended to be legal advice for your situation. If you want to read more, take a look at my newsletter archive.