The measure is an environmental protection requirement to avoid discharging too much hot water into rivers already warming from the heatwave.