I'm not a lawyer (and I really hope you never have to get one involved over this) but where it says "...permitting chickens to run at large within the residential section of the city" is a nuisance, I would argue that if they are not running at large then they are not a nuisance.
As a practical...