A state appeals court says a municipality overstepped when it imposed water quality conditions on a Rock County farm's permit.

According to the ruling, Larson Acres, Inc., asked the Town of Magnolia to expand operations to 1,500 animal units.

The town granted a permit but included conditions that required the farm to minimize nutrient run-off and allow well water tests.

A state review board invalidated the conditions, but Rock County Circuit Judge James Welker upheld them.

The 4th District Court of Appeals reversed him Thursday, agreeing with the board that the town acted outside the process set out in state siting standards when it applied the conditions.

Copyright 2010 The Associated Press.