If there was no proper segregation of waste, the court said, even waste-to-energy projects would create more pollution.