A court heard the council did nothing to stop the 'unhealthy working culture'