IIRC, France has been very adamant in refusing to get its energy from spain and portugal due to political reasons. This became patently obvious in the EU's energy union negotiations, and in the way France insisted in forcing the so called Pyrenees power bottleneck (the only limitation to Spain and Portugal's ability to supply electrical energy to France)
http://www.reuters.com/article/france-spain-electricity-idUS...