A controversial farming company has had its appeal to build a egg-producing farm in South Auckland denied.
Craddock Farms appealed to the Environment Court after Auckland Council declined them resource consent to build a farm on a 19ha site in Patumahoe near Pukekohe.
Auckland Council commissioners declined the application in January last year due to concerns that odour emissions would affect nearby residents and businesses.
Protesters had been present throughout the appeal, voicing their opposition to caged animal farming.
A group called Stop Craddock Farms was celebrating the decision.
Spokeswoman Deidre Sims said it was a "massive victory".
"We've campaigned tirelessly for the last two years to stop Craddock Farms building a giant caged hen hellhole that would've entrenched colony cages as the future of egg production in New Zealand."
Craddock Farms general manager Stefan Craddock told the Environment Court that the Animal Welfare Code of Welfare 2012 required changes to the way hens were housed, and the new facility would allow them to relocate the hens and comply with the new rules.
Mr Craddock said their appeal was focused only on concerns about potential odour.
"Obviously we are disappointed.
"We only received the decision yesterday so we are spending time reviewing it and looking at our options."