Athens (AFP) - Greece and Turkey on Thursday agreed to work on confidence-boosting measures after a rocky start to a landmark two-day state visit to Athens by Turkish President Recep Tayyip Erdogan.

Erdogan, making the first visit to Greece by a Turkish head of state in 65 years, had earlier angered his hosts with talk of revising borders and complaints about Greece's treatment of its Muslim minority.

"We agreed to resume talks on confidence-building and security measures," Greek Prime Minister Alexis Tsipras said at a news conference after a long meeting with Erdogan.

The longtime Turkish leader had said Athens was neglecting the minority with Turkish origins living in northern Greece.

Erdogan also accused the European Union of ignoring promises of financial support given last year in return for Turkey's help in stemming refugee flows to Europe.

Greek President Prokopis Pavlopoulos, one of the country's foremost law experts, said Athens had no intention of revising the 1923 Treaty of Lausanne, a defining document in Greek-Turkish relations, as Erdogan has repeatedly suggested.

"This treaty is non-negotiable for us... it requires no revision nor update," he said.

Separately, Tsipras joked that another nine countries would have to be chased down to revise the treaty, including Japan.

But Erdogan insisted that agreements can be "updated" and claimed that Greece was failing to adhere to the treaty in respect to the Muslim minority.

Contrary to the treaty, Athens appoints religious jurists known as muftis instead of allowing the local community to do so, Erdogan said.

"Protecting the rights of our fellow ethnic (Turks) is a top priority for us," he said.

Tsipras countered by urging Erdogan to speed up social reforms in Turkey, where many are still imprisoned after a crackdown by his government that followed the attempted army coup last year.

"I invite you to open a new chapter in Greek-Turkish relations," Tsipras said. "If you do not accept, it will work against our peoples... and EU-Turkish relations."

Story continues

Erdogan, who visited Greece twice as prime minister, in 2004 and 2010, will travel privately Friday to the northeastern region of Thrace where the Muslim minority lives.

Further souring the two-day trip, Erdogan said in an interview Wednesday that airspace and territorial borders could be "improved".

Relations have been plagued by territorial disputes in the Aegean, with the two NATO allies nearly going to war in 1996 over a cluster of uninhabited islets.

There are often confrontations when Turkish warplanes enter airspace that Greece claims as its own, prompting Greek authorities to scramble jets in response.

- 'Delayed justice' -

A more recent bone of contention is Greece's refusal so far to extradite eight Turkish officers who fled to its territory last year after allegedly participating in the failed coup against Erdogan.

The Greek Supreme Court has blocked the extradition of the officers, and Erdogan lamented that taking the legal route "takes longer".

"Terrorists, when they are detained in Greece, they should be extradited to Turkey," he said. "Delayed justice is no justice."

Tsipras said the Greek state had to respect judicial rulings and promised that the suspects would receive a fair trial.

- 'A wide divide' -

The uneasy relations between Turkey and Greece date back to the creation of the modern Turkish republic out of the ruins of the Ottoman Empire.

Erdogan's Islamic-rooted Justice and Development Party (AKP), which came to power in 2002, sought a more pragmatic relationship based on trade and tourism, and Greece became a key backer of the Turkish bid to join the EU.

Athens is unhappy over Turkey's upkeep of Byzantine heritage in Istanbul, the former Constantinople, including the Hagia Sophia, which is officially a museum but has seen an uptick in Muslim worship in the last few years.

Another festering sore is the island of Cyprus, whose northern section is still occupied by Turkish troops following the 1974 invasion in response to an Athens-inspired coup aimed at uniting it with Greece.

Much-touted peace talks this year to reunify the island ended without a breakthrough.

In a move seen by Turkish commentators as a gesture to Ankara ahead of Erdogan's visit, nine suspected members of the Marxist Revolutionary People's Liberation Party-Front (DHKP-C), branded a terrorist organisation by Turkey, were charged by a Greek prosecutor last week.

burs/sjw-jph/js