The White House has "no understanding of the legal underpinning" of the Paris Agreement, the former head of the United Nations (UN) climate change body has said.

Christiana Figueres called Donald Trump’s fanfare over withdrawing the US from the agreement “a vacuous political melodrama."

Making his announcement, the President said the US would be out of the Paris accord “as of today.”

But this completely ignores the legal process of withdrawing, said Ms Figueres, who served as chief of the UN Framework Convention on Climate Change between 2010 to 2016.

The US will not officially be ‘out’ of the agreement for four years from the date it went into effect: 4 November 2016. This means, the US will only exit the day after the 2020 election, in which Mr Trump will likely run for a second term.

"Apparently the White House has no idea how an international treaty works," Ms Figueres said.

The historic 2015 agreement signed by 195 countries and ratified by 147 aims to reduce carbon emissions and contain global warming.

But after Mr Trump withdrew US participation, it will no longer include the world's second largest polluter.

Mr Trump said that he wanted to renegotiate the deal, which took 20 years to get to the place where it could be signed by so many countries.

But his announcement for withdrawal was not really necessary, because he could change the US’ emissions reductions targets and funding commitments without disrupting the agreement, Sue Biniaz, former US State Department Deputy Legal Adviser on climate, told The Independent.

Every country that has signed has the right to do so, she said.

"There's no legal reason why it couldn't be amended, but I don't think it needs to be amended or "renegotiated" in order to address the concerns raised by the President," she added.

Todd Stern, the Special Envoy on Climate Change during the Obama administration, told The Independent it was "extremely hard to imagine any country wanting to renegotiate [the agreement] because they felt the US got a bum deal."

France, Germany, and Italy have already issued a joint statement saying they will not be party to a renegotiation of any kind.

10 photographs to show to anyone who doesn't believe in climate change Show all 10 1 /10 10 photographs to show to anyone who doesn't believe in climate change 10 photographs to show to anyone who doesn't believe in climate change A group of emperor penguins face a crack in the sea ice, near McMurdo Station, Antarctica Kira Morris 10 photographs to show to anyone who doesn't believe in climate change Floods destroyed eight bridges and ruined crops such as wheat, maize and peas in the Karimabad valley in northern Pakistan, a mountainous region with many glaciers. In many parts of the world, glaciers have been in retreat, creating dangerously large lakes that can cause devastating flooding when the banks break. Climate change can also increase rainfall in some areas, while bringing drought to others. Hira Ali 10 photographs to show to anyone who doesn't believe in climate change Smoke – filled with the carbon that is driving climate change – drifts across a field in Colombia. Sandra Rondon 10 photographs to show to anyone who doesn't believe in climate change Amid a flood in Islampur, Jamalpur, Bangladesh, a woman on a raft searches for somewhere dry to take shelter. Bangladesh is one of the most vulnerable places in the world to sea level rise, which is expected to make tens of millions of people homeless by 2050. Probal Rashid 10 photographs to show to anyone who doesn't believe in climate change Sindh province in Pakistan has experienced a grim mix of two consequences of climate change. “Because of climate change either we have floods or not enough water to irrigate our crop and feed our animals,” says the photographer. “Picture clearly indicates that the extreme drought makes wide cracks in clay. Crops are very difficult to grow.” Rizwan Dharejo 10 photographs to show to anyone who doesn't believe in climate change Hanna Petursdottir examines a cave inside the Svinafellsjokull glacier in Iceland, which she said had been growing rapidly. Since 2000, the size of glaciers on Iceland has reduced by 12 per cent. Tom Schifanella 10 photographs to show to anyone who doesn't believe in climate change A river once flowed along the depression in the dry earth of this part of Bangladesh, but it has disappeared amid rising temperatures. Abrar Hossain 10 photographs to show to anyone who doesn't believe in climate change A shepherd moves his herd as he looks for green pasture near the village of Sirohi in Rajasthan, northern India. The region has been badly affected by heatwaves and drought, making local people nervous about further predicted increases in temperature. Riddhima Singh Bhati 10 photographs to show to anyone who doesn't believe in climate change A factory in China is shrouded by a haze of air pollution. The World Health Organisation has warned such pollution, much of which is from the fossil fuels that cause climate change, is a “public health emergency”. Leung Ka Wa 10 photographs to show to anyone who doesn't believe in climate change Water levels in reservoirs, like this one in Gers, France, have been getting perilously low in areas across the world affected by drought, forcing authorities to introduce water restrictions. Mahtuf Ikhsan

Former President Barack Obama actually circumvented the process to make the Paris Agreement a “treaty” in the legal sense for the US.

The US ‘joined’ the agreement and it went into effect for the US because of an executive order Mr Obama signed. It was done this way so the climate sceptics in Congress could be avoided.

The process does give Mr Trump legal authority to withdraw but he is still required to follow the four year process outlined in the agreement.

The agreement is legally binding in 147 countries since they ratified it as a treaty. Of note: Russia is the only country in the top ten polluters in the world not to ratify or join the agreement, though they did sign it.

The US now falls into the same category of Syria and Nicaragua, the only other two countries not in the Paris accord.

However, Nicaragua has not joined because they actually thought the agreement was not ambitious enough and does not punish countries who do not take necessary measures to combat global warming.

The Central American nation produces no oil and is on pace to have 80 per cent of their energy come from renewable sources like solar and wind.