Spain and Portugal have large gas import capacities through their liquefied natural gas (LNG) terminals, which could be used to supply central Europe with additional pipeline connections such as the one planned crossing the Pyrenees between Spain and France, dubbed Midcat.

However, French President Emmanuel Macron said on Monday he opposed the Midcat project, arguing that capacity on the two existing cross-Pyrenees gas pipelines was underutilised and gas flows were going mainly in the direction of Spain.

According to Reuters, Portugal's environment minister Duarte Cordeiro said that "this is a European matter, not a bilateral issue between countries", adding that finding solutions was crucial.

"We're a bit agnostic about solutions ... if the solution is with France or if it is with Italy. But solutions have to be found and it will be the solution that is possible," he told reporters.

Cordeiro said Portugal had already spoken to the Italian government about a much longer pipeline connecting the Spanish grid to Italy's through the Mediterranean.

German Chancellor Olaf Scholz last month pushed for the construction of a pipeline from Portugal through Spain and France to central Europe to wean Europe from Russian energy dependence.