Turkish authorities took the lawyer into custody in mid-September, Germany's Foreign Ministry confirmed Wednesday.

The man, from Turkey, had been assisting the embassy in Ankara by looking into the cases of Turkish citizens seeking asylum in Germany, according to news magazine Der Spiegel, which first broke the story.

A German diplomatic source told Agence France-Presse that the lawyer had provided "internationally customary and, in our view, indisputably acceptable support."

"His detention is incomprehensible to us," they added.

Read more: Germany says don't panic over 'Islamic State' returnees' arrival

The diplomatic source said Germany was "intensively engaging to clear up the allegations and free him from custody." The lawyer, who Der Spiegel says has been accused of espionage, cannot receive consular assistance from Germany because he is a Turkish citizen.

Watch video 13:05 Share German defense chief recommends international security zone in Syria Send Facebook google+ Whatsapp Tumblr linkedin stumble Digg reddit Newsvine Permalink https://p.dw.com/p/3RiPB German defense chief recommends international security zone in Syria

'Sensitive data'

As part of his work for the embassy, the lawyer had sought information from local police and prosecutors about the likelihood of certain asylum-seekers facing imprisonment on their return to Turkey.

The German government now fears that "sensitive data and entire files of up to 50 asylum-seekers have reached the Turkish intelligence service," the diplomatic source said.

Read more: German man fighting for Kurds killed in Syria

Turkish authorities may have seized more than 250 other files in a search of the lawyer's offices, German media reported.

Many of the files concern pending asylum claims, including those of Kurdish activists and followers of US-based Islamic cleric Fethullah Gulen, who Turkish President Recep Tayyip Erdogan accuses of orchestrating a 2016 failed coup.

Sevim Dagdelen, a member of the German parliament from the Left party with Turkish-Kurdish roots, criticized the foreign ministry for waiting nearly two months since the lawyer's arrest to make the incident public.

"By not knowing about the actions of Turkish authorities and their acquisition of highly sensitive data from political refugees for more than two months, hundreds of people seeking protection in Germany were probably exposed to immediate danger from the Turkish secret service and from Erdogan's network of spies and thugs in Germany," she told DW.

cw/nm/stb (AFP/dpa)

DW sends out a daily selection of hard news and quality feature journalism. Sign up here.