But, over a four-month period in 2016, the company consistently failed to meet the requirements of the abatement notice, meaning a real risk of a large amount of effluent entering the environment and the need for a significant council presence on site to help prevent a spill.
"The council placed an unprecedented level of resources into monitoring the site trying to ensure the company responsibly managed the risks of a major effluent spill," Council Investigations manager Patrick Lynch said.
"Luckily, no such major incident occurred but the lack of compliance with the abatement notice significantly heightened the risks involved.
"We felt that it was important that there was a clear message to company directors, through the court process, that they need to take their environmental obligations seriously and comply with abatement notices."
Mr Lynch said that ultimately Kaimai Pork Ltd lost financial control of the piggery operation. Effluent management at the site is now being carried out by the new owners.