Sorry. The real irreperable harm is to you. How does some lousy judge who doesn't own chickens get to ban them.
I can see rooster noise violating noise ordinances, but banning chickens is a crime against humanity if you ask me. Other than moving them indoors or registering them as support...