Decision to save nuclear power open to legal challenge