Farming is increasingly regulated and rule changes are common.
Existing-use rights are often assumed to provide some level of protection for long-standing activities. But relying on these rights is fraught with problems.
In rural zones, farming usually has 'permitted' status in the local council's district plan, so agricultural activities generally don't require resource consent.
This is normal for a rural area where food production is the dominant land use. But the status of farming activities can change, meaning that what has been 'permitted' before now requires resource consent.
One example is where land on the growing edge of an urban centre is rezoned from 'rural' to 'residential'. Various planning overlays can also be applied to parts of a district, where additional rules may apply.