Of all the bizarre encounters the Palestinian conflict has generated, Tony Blair's four meetings in Doha with Khaled Meshaal, the Hamas leader must surely rank as one of the oddest.
Here was the Quartet's Middle East envoy breaking the Quartet's own rules about talking to Hamas until it recognises Israel - rules that Blair and Jack Straw , enforced as prime minister and foreign secretary by pressing the EU to declare Hamas a terrorist organisation. Two of the four meetings were held before Blair resigned as envoy.
Here was Blair, the man linked in mind, body, and soul to the military coup in Egypt ( he said the army intervened " at the will of the people" to bring democracy to Egypt) attempting to mediate between Hamas, Israel and Egypt - the two countries that have kept a stranglehold around Gaza's neck. The Egyptian leader has been an even more zealous enforcer of the blockade than Netanyahu is .
In a British context, Blair's dialogue with Hamas took place as his supporters accused the far left candidate in the Labour leadership race Jeremy Corbyn of making Labour unelectable if he became leader. Corbyn had advocated talks with Hamas and Hezbollah - a crime of which the man who won power three times was a repeat offender.
Blair did not just talk to Meshaal. He invited him to London, offering him a specific date in June, on which the current prime minister David Cameron must have agreed. This is the same prime minister who has strived and failed, so far, to publish a report branding the Muslim Brotherhood presence in Britain as extremist. Bizarre.
And yet Blair kept going, even after the existence of the talks was revealed by the Middle East Eye, In the last few days he has still been pushing the deal in Cairo . Why ?
His motivation is not obvious. It is surely not out any belated humanitarian concern for 1.8m Gazans . As prime minister and peace envoy, Blair has provided Israel with valuable international cover for one operation in Gaza after another. Nor can it be out of any love for Hamas and the Muslim Brotherhood. He regards Islamism as an ideological enemy. To borrow Peter Mandelson's words, Blair is intensely relaxed about helping dictators with grievous human rights records, in the Emirates, Egypt and Kazakhstan who share his conviction that Islamists must be wiped off the political map.
Blair told Hamas he had secured the agreement of three of the five potential partners to a deal opening up Gaza's borders in exchange for an unlimited ceasefire - the Saudis, Emiratis and Jordanians. But without Israel and Egypt no deal could be said to exist.
After four meetings, Blair and Hamas discussed the possibility of continuing the ceasefire that is currently in place in exchange for an immediate opening of all borders andthe immediate payment of the salaries of all government workers in Gaza. These two steps would be followed by talks about a seaport, an airport and the reconstruction of the enclave.
Everything else was off the table: Hamas did not agree, as Blair had been pressing them, to any form of words about political negotiations being the way forward, or anything that would reanimate an Oslo process now considered to be dead; Hamas would only agree to a continuation of the ceasefire, not a hudna with a minimum stated time limit; the ceasefire would only affect Gaza, not the West Bank, where Hamas said resistance to the settlers and the Israeli army would continue; the proposed deal would have had no bearing on a prisoner exchange.
Meshaal took a rain check on the offer of a trip to London. Hamas told Blair they would only take this process forward if it had the backing of Israel and Egypt. That, Blair has failed to achieve and the process is regarded to have reached a dead end, sources told the MEE on Tuesday.
In Israel itself, the talks had its backers, mainly, although not exclusively, outside the government. The most notable convert was Naftali Bennett, the head of Jewish Home ,and current education minister who said a week after fighting began last summer:
" The army can wipe out Hamas. We have a strong people which is telling the leadership 'do whatever it takes to get it over with"
Now, he has changed his tune. He told Channel 2 recently :
"Egypt and the Palestinian Authority want things to be bad in Gaza so that we will continue fighting; it is good for them," said Bennett. "But at this stage I am against it. The situation is that Hamas is there."
There were others: the Israeli president Reuven Rivlin, Yisrael Katz, the transportation and intelligence Minister, Yuval Diskin, the former head of Shin Bet; Shaul Mofaz, former defence minister, former IDF Deputy Chief of Staff Yair Naveh, Efraim Halevy the former head of Mossad - have all expressed support for talks with Hamas, direct or indirect.
Netanyahu and the government itself remains staunchly opposed. This can either be because Netanyahu can not accept a deal in which Hamas remains as an active combatant in the West Bank or because he never intended to reach a deal in the first place. The process of reaching a deal with Hamas was always going to be more inviting to him than the result. The process would mean Hamas having an incentive to keep the quiet , and Netanyahu would be also be responding to pressure from citizens in southern Israel. The result would mean abandoning a policy to isolate and weaken Hamas, of which he has been one of the most effective enforcers.
On this, Netanyahu can not be accused of inconsistency. He makes no distinction here between which brand of Palestinian leader he is dealing with, one who recognises Israel or one who does not. Netanyahu's record on the national issue is clear : talks never reach a conclusion. They are never anything more than a way of buying time.
He is not alone. If a deal were to be secured that allowed Hamas's 50,000 government workers to be paid , it would be over Mahmoud Abbas 's dead body. As the International Crisis Group argues in its latest report, the PA have much to lose from ending the blockade and little to gain. Since mid 2013 when nearly all the tunnels under the Rafah border with Egypt have been closed, the PA's revenue which Israel collects on goods going into Gaza on its behalf has greatly increased. It quotes a minister in the national consensus government, appointed by Fatah and involved in Gaza's reconstruction, who attributes primary responsibility for the stasis to the Palestinian president's office, which, he said, "has no intention of rebuilding Gaza or taking responsibility for it".
The signals from Egypt are just as bleak. In June, the head of Egyptian intelligence was all smiles as he met a delegation from Hamas , and the Rafah border remained open for that week. That was before the attack on July 1 by Sinai jihadis , for which Egypt blamed Hamas. The latest signal was the abduction of four members of the Qassam brigades travelling through Northern Sinai, which Hamas blames on the Egyptian military - not IS.
Who gains from this brief interlude of talks? Obviously, the Quartet's conditions for excluding Hamas from negotiations have now been breached, as has the EU declaration on Hamas as a terrorist organisation. Blair irritated the Swiss, who see themselves as the chief conduit for negotiations with Hamas, even more than he did Mahmoud Abbas.
However it styled its war on Gaza last year, the Blair talks are a sign that Israel does not want to repeat the experience, at least any time soon. Hamas has become the address to go to in Gaza, and preferable to any available alternative, certainly to the chaos of militias competing with each other to fire rockets off at Israel and the prospect that one day the IS could inherit Hamas' mantle. Mohamed Dahlan's efforts to buy himself back into favour in Gaza by funding weddings has largely been at Abbas's expense.
For Netanyahu, Blair may have been useful in testing the waters, but it looks as if he has reached his limits as a go between. For Egypt, the opening of the Rafah border would mean surrendering its chief foreign policy card. There are no signs it is prepared to do this .
Which brings us back to Blair. What was in it for him? This has everyone scratching their heads. But there are some clues.
Last year months before the start of the Doha talks, an academic with access to Khaled Meshaal was approached by Israelis at a conference in Europe . They wanted him to pass on a specific request. If British Gas developed the gas field in Gaza Marine, (a field between 27 and 33 kilometres off the coast of Gaza thought to contain I trillion cubic feet of gas) would Hamas attack it? The academic wanted to know who was asking the question - the Israeli government? No, the reply came: " It was Tony Blair". The academic refused to pass the message on and told them Tony Blair should contact Meshaal himself.
How curious. Blair privately claims he got involved in the talks at Hamas' request - as a result of a letter Hamas sent to the UN peace process envoy Robert Serry. But his interest in the gas off Gaza's coast predates that. British Gas Group are clients of JP Morgan , for which Blair was paid as a senior adviser.
This field is in the words of the Foreign Office, by far the most valuable Palestinian natural resource. Revenues from its output were estimated in 2007 to be worth $4bn. Ariel Sharon was always against its development and when he pulled out of Gaza, British Gas signed a memorandum with the Egyptian company Egas to sell it there in 2005.
The deal was cancelled a year later when Blair intervened at the behest of the then Israeli premier Ehud Olmert. Thirty times as much has now been discovered in a field off Egypt. Who knows what the fields of Gaza could contain. No conflict? Plenty of interest.