Spain’s government has published a new climate plan that targets a 100% renewable energy electricity system by 2050, with goals that outstrip those adopted by the EU and a ban on new gas and oil exploration.