The courts will ultimately have their say on the new administration's "energy emergency" and planned environmental rollbacks.