ANKARA/BAGHDAD/ERBIL, Iraq (Reuters) - Iraqi troops deployed on Tuesday at one of the main land crossings with Turkey, gaining a foothold at the Kurdish-held frontier for the first time in decades and imposing one of Baghdad’s central demands on the Kurds.

Iraqi and Turkish soldiers wave flags at the Habur Border Gate between Turkey and Iraq in this still image taken from video, October 31, 2017. IHA/ via REUTERS

Iraq’s entire land border with Turkey is located inside the Kurdish autonomous region, and has been controlled by the Kurds since before the fall of Saddam Hussein in 2003.

But since the Kurds staged a referendum on independence last month that Baghdad considers illegal, the central government has demanded a presence at all border crossing points.

The Iraqis set up positions between the Turkish and the Iraqi Kurdish checkpoints at the Habur border crossing between the Turkish town of Silopi and the Iraqi town of Zakho, a security source in Baghdad said.

Vehicles crossing the border would now be subject to three checks -- by Turks, Iraqi forces and the Kurds.

“Habur border gate has been handed over to the central (Iraqi) government as of this morning,” Turkish Prime Minister Binali Yildirim told members of his ruling AK Party in parliament in Ankara.

Officials from the Kurdistan Regional Government (KRG) said they had not relinquished control of the crossing. Discussions were ongoing to allow Iraqi “oversight” at the border, Hoshyar Zebari, a former Iraqi foreign minister now working as an adviser to the KRG, told Reuters.

An Iraqi official showed Reuters pictures of the Iraqi flag being raised at the border gate, where Iraqi and Turkish soldiers were deployed and Turkish flags also hoisted.

Control of the border region is of crucial importance for the landlocked Kurdish region. An oil pipeline runs from northern Iraq into Turkey, carrying crude exports which are the principal source of funds for the Kurds.

BALANCE SHIFTS

The balance of power between Iraqi central government forces and the autonomous Kurdish region has been transformed since the Kurds staged their referendum on Sept. 25.

Iraqi Prime Minister Haidar al-Abadi ordered his forces to recapture all territory held by the Kurds outside the borders of their autonomous region, and most of it was seized this month within a matter of days.

Baghdad is also demanding control of all border crossings with Turkey and Iran. Abadi has won backing from both Tehran and Ankara for his moves against the Kurds.

However, in a move to help defuse tensions with the Kurds, he said on Tuesday Baghdad would start paying “soon” the salaries of Kurdish Peshmerga fighters and civil servants working for the KRG.

The semi-autonomous KRG has been struggling to pay the Peshmerga and its employees since 2014, after Baghdad stopped payments to it because of a dispute about oil-sharing revenue.

The cost of a three-year war on Islamic State added to the Kurdistan region’s financial difficulties, and fall of the oil region of Kirkuk to Iraqi forces halved the KRG’s oil income.

The Peshmerga took over the multi-ethnic region of Kirkuk in 2014, after the Iraqi army collapsed in the face of Islamic State, preventing the militants from controlling its oilfields.

Slideshow ( 3 images )

Iraq’s military said a delegation headed by army Chief of Staff Lieutenant General Othman al-Ghanmi was visiting the area, to take control of Kurdish-held international border checkpoints with both Turkey and Syria

Zebari, the Kurdish government adviser, said the Kurds were prepared to accept “Iraqis at the airports and border posts to have oversight, to make sure everyone is in compliance”, but any such presence must be achieved through negotiations, not force.

The split between the Kurds and the Iraqi central government is a particular challenge for Washington, which is closely allied to both sides. The United States had urged the Kurds not to hold the referendum, worried it would precipitate a backlash.

The referendum and ensuing dispute with Baghdad has also exposed deep rifts within the Kurdish leadership. Kurdish leader Masoud Barzani announced on Sunday he would step down, and accused security forces loyal to a rival political party of “high treason” for yielding territory to the central government without a fight.

The KRG and the central government held talks from Friday till Sunday to resolve their conflict.

Yildirim said Turkey had agreed to open another border gate with Iraq as part of a route that would lead to the city of Tal Afar, some 40 km (25 miles) west of Mosul and home to a predominantly ethnic Turkmen population.

Iran will reopen all its border crossings with Iraq’s Kurdistan region in the coming days, lifting restrictions imposed after last month’s Kurdish vote in favor of independence, its chief of staff Major General Mohammad Baqeri said on Monday.