States Win Energy Dereg Fight in Court