An angry and grieving Iraq on Thursday buried nine holidaymakers, including a newlywed, killed in the artillery bombardment of a Kurdish hill village.

Baghdad blames neighbouring Turkey and summoned the Turkish ambassador in protest.

Ankara denied its troops were responsible and instead accused rebels of the outlawed Kurdistan Workers Party (PKK).

Iraqi security forces stand guard outside the Turkish visa office in Baghdad
Iraqi security forces stand guard outside the Turkish visa office in Baghdad AFP / AHMAD AL-RUBAYE

Germany, France and Iran condemned the attack.

The coffins of the nine dead, draped in Iraqi national flags and festooned with flowers, were flown on a military aircraft to Baghdad from Arbil, capital of the autonomous Kurdistan region.

An honour guard bore the coffins at a ceremony witnessed by Prime Minister Mustafa al-Kadhemi on the tarmac of Baghdad's airport, where his office said he met relatives of the victims who came to claim their loved ones' bodies for burial.

The injured from the bombardment are taken to hospital in the Kurdish town of Zakho in northern Iraq
The injured from the bombardment are taken to hospital in the Kurdish town of Zakho in northern Iraq AFP / Ismael ADNAN

Iraqi Foreign Minister Fuad Hussein and Kurdish regional president Nechirvan Barzani had led the pallbearers carrying the smallest of the coffins, a child's, onto the military plane in Arbil, an AFP correspondent reported.

The deaths prompted angry anti-Turkish demonstrations across Iraq, and a formal protest from the government.

A statement from the foreign ministry said it handed the summoned Turkish envoy a "letter of protest" and said that Iraq "calls on Turkey to solve its domestic problems away from Iraqi borders and without harming its people".

In the street, demonstrators wanted more, calling for the ambassador's expulsion as loudspeakers blared patriotic songs outside the Turkish visa office in Baghdad early Thursday. There was a heavy police presence.

Iraqi protesters trample on a Turkish flag outside the consulate in the Shiite shrine city of Najaf, angry at the deaths of nine people in what the government says was Turkish shelling of a Kurdish hill village
Iraqi protesters trample on a Turkish flag outside the consulate in the Shiite shrine city of Najaf, angry at the deaths of nine people in what the government says was Turkish shelling of a Kurdish hill village AFP

Protesters brandished portraits of Turkish President Recep Tayyip Erdogan labelled "terrorist" and trampled Turkish flags.

"We want to burn down the embassy," said demonstrator Ali Yassin, 53. "Our government is doing nothing."

There were similar protests on Wednesday night in the Shiite shrine cities of Najaf -- where many of the victims will be buried -- and Karbala, as well as the southern city of Nasiriyah.

Iraqi Foreign Minister Fuad Hussein (R) and Kurdish regional president Nechirvan Barzani (L) lead the pallbearers carrying the coffins of those killed in the bombardment onto the flight for Baghdad
Iraqi Foreign Minister Fuad Hussein (R) and Kurdish regional president Nechirvan Barzani (L) lead the pallbearers carrying the coffins of those killed in the bombardment onto the flight for Baghdad AFP / SAFIN HAMED

Wednesday's shelling in the Zakho district village of Parakh also wounded 23 people, the majority of them domestic tourists seeking respite from the heat of the plains in the mountains of the Kurdish north.

Among the dead was Abbas Alaa, 24, an engineer married for barely a week, said a friend who gave his name as Nour.

Alaa was on his honeymoon -- his first-ever trip, Nour said -- and his wife was wounded.

"We can't believe it," said Nour who waited with other friends at a modest Baghdad home for relatives to return with his corpse.

Mourners grieve for Abbas Alaa, a 24-year-old engineer who was on his honeymoon when he was killed in the shelling
Mourners grieve for Abbas Alaa, a 24-year-old engineer who was on his honeymoon when he was killed in the shelling AFP / AHMAD AL-RUBAYE

"This doesn't happen in any other country, only Iraq," Nour said.

Germany's foreign ministry on Thursday said "the circumstances of the attack and those responsible" must be urgently investigated.

"The German government assigns great importance to respect for Iraq's state sovereignty and international law," it said.

France, which also denounced the "indiscriminate strike", said it too was committed to Iraq's sovereignty, and the stability of the autonomous Kurdish region.

In Tehran, the foreign ministry spokesman said "Iran considers the security of Iraq as its own security and will not hesitate to provide any assistance in this regard".

In an unusually strong rebuke, Kadhemi warned Turkey that Iraq reserves the "right to retaliate".

Kadhemi called the artillery fire a "flagrant violation" of sovereignty -- a line echoed by the Kurdistan administration.

Iraq said it was recalling its charge d'affaires from Ankara and demanded an official apology from Turkey along with "the withdrawal of its armed forces from all Iraqi territory".

The Turkish foreign ministry denied responsibility for the bombardment, saying these "kinds of attacks" were committed by "terrorist organisations".

On its Twitter account, the Turkish embassy offered its condolences to "our brother Iraqis killed by the PKK terrorist organisation".

Ankara launched an offensive in northern Iraq in April dubbed "Operation Claw-Lock", which it said targets fighters from the PKK.

The rebels have kept up a deadly insurgency for Kurdish self-rule in southeastern Turkey since 1984.

Ankara's Western allies also list the group as a "terrorist organisation".

For the past 25 years, the Turkish army has maintained dozens of outposts across Iraq's Kurdish north as part of its campaign against the rebels. There have been sporadic calls for their removal.

Iraq and Turkey are trade partners but Ankara's successive offensives against PKK rear bases in the north have been a persistent source of tension in relations, particularly when they have caused civilian casualties.