Campaigners lose fight against sewage works