One water company admitted to causing thousands of discharges that damaged commercial oyster beds.