I know of 2 people who've been to the DA's office for non-compliance of nuisance crowing cease and desist orders in LA county (worked there way back). You can legally own a rooster, but you can't cause your neighbors to wake up at all hours of the night. Heavy fines for both cases for ignoring Animal Control visit. Just saying.
That's nuts.
If the property is 5 acres and the coop wasn't located right under the neighbor's bedroom window there's no way they were being woken up. Probably some kind of pre-existing neighbor dispute involved.
I have my for-sale pen about 15 feet from my bedroom window and they don't wake me -- though I do, of course, hear them quite clearly if I'm already awake.