Thousands of Kurds protested in Iraq’s semi-autonomous Kurdistan region on Thursday against Prime Minister Ali al-Zaidi’s moves to take control of oil fields held by Kurdish security forces and deploy federal troops at the region’s international borders.

The protests came a day after Iraq’s highest court ruled that Baghdad could deploy federal forces along all international borders, including in the Kurdistan region. In Erbil, the regional capital, a banner bearing an image of a Kurdish leader and a flag said: “Kurdistan Region will not submit to an unconstitutional decision or to the imposition of the will of any person or party.”

Kenjo Khalaf, a university student protesting in Duhok, told Reuters: “We do not accept an attack on Kurdistan's land and will not allow anyone to interfere in our land. We are a peaceful people and we want security for everyone.”

Zaidi has directed the federal oil ministry to manage oil fields under Kurdish security control in four provinces outside the Kurdistan region, where Kurdish forces had extended their grip. The Kurdistan Regional Government rejected what it called “military language and threats” in a statement from the Iraqi military spokesman announcing the measures.

The regional government said it was working with federal authorities to combat corruption and called for an end to oil smuggling across Iraq, one of the world’s leading oil producers and an ally of both the United States and Iran.

The moves against the Kurds came a week after Zaidi ordered a confrontation with Kataib Hezbollah, a Shi’ite militia aligned with Iran. The government accuses the group of operating a smuggling operation in Jurf al-Sakhar, south of Baghdad. Zaidi ordered the army to prepare to enter the city; the group was initially defiant but agreed to let soldiers enter.

Both crackdowns have been linked to alleged oil-smuggling rings. They put Zaidi at odds with two major factions in a country where armed groups have amassed power over decades of ethno-sectarian civil war.

The court ruling appears to be a victory for Zaidi, a 41-year-old multimillionaire businessman and political novice who came to power in a compromise just six months ago. Political analysts say, however, that measures challenging entrenched interests may be difficult to implement.

Ties between Baghdad and the Kurds have often been strained over control of oil, money, territory and trade. The central government responded with force after Kurdistan held an independence referendum in 2017, though relations have lately grown calmer. REUTERS