French President Emmanuel Macron announced Friday that France will leave the Energy Charter Treaty.

Report informs, citing Politico, that the pact, which allows international companies and investors to sue governments over interventions that hit the profits of energy projects, is increasingly seen as a threat to national climate plans.

“France has decided to withdraw from the Energy Charter Treaty,” Macron said at a press conference following an EU leaders’ summit in Brussels, adding that the move is “coherent” with the country’s climate ambitions and the Paris climate agreement.

The decision follows announcements from Spain, the Netherlands and Poland that they will withdraw from the pact. Germany and Belgium have signaled they are considering their options.

Earlier this week, France’s High Council on Climate said continued membership of the treaty posed a threat to the EU’s climate goals.