The sapling was highly symbolic, as it came from Belleau Wood, some 60 miles northeast of Paris, which was the site of a World War I battle where more than 9,000 American Marines died in combat.

But on Twitter, many people noted how Trump’s participation in the planting could be seen as being at odds with his climate change-denying agenda.

5PHOTOS

Trump and Macron participate in planting ceremony at White House

See Gallery

Trump and Macron participate in planting ceremony at White House

U.S. President Donald Trump and first lady Melania Trump and French President Emmanuel Macron and Brigitte Macron prepare to have their picture taken on a visit to the estate of the first U.S. President George Washington in Mount Vernon, Virginia outside Washington, U.S., April 23, 2018. REUTERS/Jonathan Ernst TPX IMAGES OF THE DAY

U.S. President Donald Trump and first lady Melania Trump and French President Emmanuel Macron and Brigitte Macron walk to pose for a picture on a visit to the estate of the first U.S. President George Washington in Mount Vernon, Virginia outside Washington, U.S., April 23, 2018. REUTERS/Jonathan Ernst TPX IMAGES OF THE DAY

U.S. President Donald Trump and French President Emmanuel Macron shovel dirt onto a freshly planted oak tree as first lady Melania Trump watches on the South Lawn of the White House in Washington, U.S., April 23, 2018. REUTERS/Joshua Roberts TPX IMAGES OF THE DAY

U.S. President Donald Trump and first lady Melania Trump and French President Emmanuel Macron and Brigitte Macron have their picture taken on a visit to the estate of the first U.S. President George Washington in Mount Vernon, Virginia outside Washington, U.S., April 23, 2018. REUTERS/Jonathan Ernst

U.S. President Donald Trump and French President Emmanuel Macron walk with first lady Melania Trump and Brigitte Macron from the Oval Office of the White House in Washington, U.S., April 23, 2018. REUTERS/Joshua Roberts

Here's a still from from Lars von Trier's upcoming sci-fi epic "Melancholia: Rebirth," in which Trump and Macron save the Earth by reforesting golf courses that had removed too many trees during the Scottish links fad of the early 2010s. https://t.co/zH1f7Hy5PC