Hong Kong (CNN) Chinese President Xi Jinping and French President Emmanuel Macron have signed a pact recommitting to the 2015 Paris Agreement, just days after the US formally withdrew from the landmark global treaty to fight climate change.

Speaking at a joint signing ceremony in the Chinese capital Beijing Wednesday, Xi reiterated both sides shared determination to "push forth the Paris Climate Accords in response to climate change."

Though neither leader mentioned the US by name, Macron called out what he described as the "isolated choices" made by some nations.

"I deplore the choices made by some others, but I want to see them as marginal choices, because when China, the European Union, Russia, which ratified the Paris Agreements a few weeks ago, engage with firmness, the isolated choice of one or another (country) is not enough to change the course of the world, it will only lead to them being edged out," said Macron.

The Trump administration announced Monday that it would formally begin withdrawing the US from the Paris climate accord, the first step in a year-long process to leave the agreement.