Turkey has made its first move on the regional chessboard after the recent deal between the UAE and Israel, when on August 22, President Recep Erdogan received in Istanbul a high-level delegation of the Palestinian resistance group Hamas, including its leader Ismail Haniyeh and deputy leader Saleh al-Arouri.

Also present at the meeting held behind closed doors at Istanbul’s Vahdettin Palace were the head of Turkey’s intelligence service, Hakan Fidan and two key aides of Erdogan — the communications director Fahrettin Altun and the presidential spokesman, Ibrahim Kalin.

The symbolism of the event is profound. The US state department has designated Ismail Haniyeh and Saleh al-Arouri as terrorists and has placed a $5 million bounty on their heads. And, of course, Turkey’s links with Hamas has been a sore point with Israel and it strained the traditionally close relations between the two countries to near breaking point in the recent decade.

Meanwhile, Hamas is an offshoot of the Muslim Brotherhood with which Turkey’s ruling Islamist party has ideological affinity but which the Emirati regime regards as existential enemy.

To be sure, Erdogan has made a calculated move after reading the tea leaves that one of the objectives behind the US-sponsored deal between the UAE and Israel is the creation of a new regional order even as American retrenchment from the region may have already begun in the Middle East.

Erdogan estimates that the main target of the UAE-Israel deal is Turkey. He had spotted the UAE as an active participant in the US-led failed coup attempt in 2016 aimed at overthrowing his government. He is also acutely conscious that the US, Israel and the UAE are aligned with the separatist Kurdish groups.

Turkey and the UAE are promoting opposite sides in the Libyan conflict and recently, the UAE has begun cozying up to Greece against the backdrop of rising tensions between Greece and Turkey in the Eastern Mediterranean. (The UAE fighter jets are currently participating in a training exercise in Greece.)

The US State Department has lashed out at Erdogan for his meeting with Hamas leaders. But within hours, Ankara hit back. In a furious rejoinder, the Turkish Foreign Ministry rebuked Washington for questioning the legitimacy of Hamas, “which has come to power in Gaza through democratic elections and which constitutes an important reality of the region.”

Alluding to the US policies, the Turkish statement went on to say, “Moreover, a country which openly supports the PKK, that features on their list of terrorist organisations and hosts the ringleader of the FETO (group led by Islamist preacher Fetullah Gulen) has no right whatsoever to say anything to third countries on this subject.”

Lamenting that the US “has isolated itself from the realities of our region,” the Turkish statement urged the US to change course and “sincerely work towards the resolution of the Israeli-Palestinian conflict on the basis of international law, justice and equity by pursuing balanced policies, instead of using its power and influence in the region to serve the interests of Israel rather exclusively.”

To be sure, Erdogan has a game plan in defiantly flaunting his relationship with the Hamas at this juncture. In the Turkish reckoning, the UAE-Israel agreement, with US backing, aims to create new facts on the ground in the Middle East, which takes the form of unimpeded telecoms, travel and recognition between Israel and its richest Gulf neighbours, but completely bypassing the Palestinian problem and blithely assuming that it is a matter of time before the Palestinian leadership would wave the white flag of surrender.

On the contrary, Turkey shares the assessment of most independent regional observers (and perceptive western analysts) that the Palestinians who have held out for seven decades are in no mood to surrender abandoning their political rights. Indeed, the Palestinian popular resistance is showing no signs of fatigue. The Palestinian leaders have used very strong language to condemn the UAE regime. The wave of anger is fuelled by a deep sense of betrayal by prince Mohammed bin Zayed.

This anger is prompting the Fatah and Hamas, who have been bitter rivals since the 2007 civil war in Gaza, to close ranks and discuss the need for joint political action. Mahmud Abbas who was unwilling to accept any partners in the governance of Palestine is today open to working with Hamas. Last week, Jibril Rajoub, general secretary of Fatah, shared a platform with Saleh Arouri, deputy head of Hamas, signalling that the rapprochement is gaining momentum.

If the Emirati calculation was to promote exiled Palestinian leader Mohammed Dahlan (who lives in Abu Dhabi) as the next Palestinian President in a near future with the backing of Arab states and Israel, that project has crash-landed. Dahlan can no longer exploit the rivalry between Fatah and Hamas. The effigies of Dahlan and Emirati crown prince bin Zayed were burned side by side in Ramallah last week.

Turkey senses a potential breakthrough in regional politics insofar as the Arab population at large shares the anger and resentment of the Palestinian people at the betrayal by bin Zayed. According to the Arab Opinion Index conducted by the Arab Center for Research and Policy Studies in Doha, if 84 percent of Arab opinion had opposed any diplomatic recognition of Israel in 2011, that has since increased to 87 percent by 2018.

In this turbulent regional milieu, Erdogan hopes to bring about a fusion between the Arab world’s sympathy and support for the demands of the Palestinians for sovereignty and their own search for democracy and liberation from their autocratic rulers. This has been his dream project all along — creation of a New Middle East that gets rid of the medieval oligarchies and replaces them with representative rule based on democratic principles and empowerment of the people.

In the downstream of the Emirati ruler’s deal with Israel, Erdogan strides like a Colossus on the Arab street and his meeting with the leadership of Hamas in Istanbul proclaims a common struggle against the despots and oligarchs who suppress democracy and have exercised cruel tyranny over their people across the region. In Erdogan’s calculus, bin Zayed’s contempt for Arab democracy and Netanyahu’s trampling of Palestinian rights are two sides of the same coin.

Erdogan visualises that the UAE-Israel agreement is built on sand and it is bound to crumble under the weight of the latent contradictions that are bound to surge in the wake of the expected decline in the US’ regional influence and prestige and amidst the birth pangs of the new-post-oil economy in the regional states.

Has Israel bitten more than it could chew? David Hearst, editor-in-chief of the Middle East Eye wrote last week, “Whereas before, Israeli leaders could pretend to be bystanders to the turmoil of dictatorship in the Arab world, this (accord with UAE) now ties the Jewish state to maintaining the autocracy and repression around it. They cannot pretend to be the victims of a “tough neighbourhood”. They are its main pillar. This accord is virtual reality. It will be blown away by a new popular revolt not just in Palestine but across the Arab world. This revolt may already have started.”