Image copyright Getty Images Image caption Mrs O'Neill had already put in a lot of work to prepare the way for Glasgow

In a surprise move, the woman appointed to run the crucial UN climate summit in Glasgow in November has been sacked.

Claire Perry O'Neill, a former climate minister, had been assigned the post of "president" of the event, known as COP 26.

The British government has confirmed that the job will now be handled by the business department, Beis.

In a tweet, Mrs O'Neill said she was "very sad" to lose the role, and went on to criticise the government.

It couldn't "cope" with an independent unit managing preparations for the conference, she said.

And in a sharp dig at No 10's green credentials, she also added: "A shame we haven't had one climate cabinet meeting since we formed."

In response, a Cabinet Office statement said the prime minister thanked Mrs O'Neill for her work so far.

"Preparations will continue at pace for the summit, and a replacement will be confirmed shortly," it said.

"Going forward, this will be a ministerial role."

This will come as a shock to many of the business and environmental groups working with her in the run-up to the summit.

It will also surprise diplomats and negotiators from other countries with whom Mrs O'Neill had formed bonds.

At the last UN summit, held in Madrid last December, she played a highly visible role as part of her preparation for the UK to take over the presidency.

In an interview recorded at that time, she said she believed the world had "one shot" at the Glasgow summit to take meaningful action on climate change - or people would question the whole process.

A lively and personable figure, she seemed determined to bring new impetus to the negotiations and, in private, had ambitious plans for the event.

Although the summit is not until November, there's a huge diplomatic and logistical task to get ready for it.

Governments worldwide are meant to come forward with tougher targets for cutting the gases heating the planet.

Some might wonder whether the UK government has allowed itself enough time.

Climate conference 'in disarray'

Sources close to Mrs O'Neill say the UK's preparations for Glasgow are in disarray, with cabinet ministers vying for control over this prestigious event.

They say there is no firmly agreed venue or budget.

And they warn that Boris Johnson provoked a backlash in Scotland by shutting First Minister Nicola Sturgeon out of the summit.

Mrs O'Neill has become increasingly frustrated by the prime minister's lack of engagement with the conference.

She has been heaping pressure on the organising team to publish an agenda, and she's trodden hard on many toes. Her relations with some civil servants are described as terrible.

She admits she's a bad diplomat - but someone who gets things done.

With many major nations refusing to offer deeper cuts in emissions, she has been focusing on potentially deliverable outcomes such as international agreements from industrial sectors to pollute less.

Whoever takes over her role has a mountain to climb.

Richard Black, director of the Energy & Climate Intelligence Unit, commented on Twitter: "While Claire Perry has a background in climate change, she doesn't in foreign affairs. Arguably that's more important - no doubt one of the real stars of the #ParisAgreement was Laurent Fabius, steeped in diplomacy but not, prior to 2015, in climate change."

Skip Twitter post by @_richardblack It will be seen in some quarters as a disruption but I'm not sure it's a big one. Delivering a good outcome at COP26 needs a whole government effort across the year, led by PM @BorisJohnson, involving international-facing and UK-facing departments — Richard Black (@_richardblack) January 31, 2020 Report

And Mohamed Adow, director of another climate and energy think-tank, Power Shift Africa, said: "It was always going to be a challenge to have a president who had no formal role in Government.

"For a successful outcome you want the person presiding over the negotiations to be someone with genuine political power, who can fully represent the UK government and 'knock heads together' to ensure real progress is made. With Claire O'Neill not even being an MP that was always going to be a challenge."