Green party ends opposition to nuclear power in energy policy shift