An Irish woman who travelled to Syria three years ago to join the so-called Islamic State group is expected to be back in Ireland in the next few weeks.

A spokesman for the Turkish Foreign Ministry has been quoted by the Reuters and AFP news agencies as saying that two Irish people are to be deported along with more than 20 other Europeans in the coming days.

RTÉ News understands that the spokesman was referring to Lisa Smith and her two-year-old daughter.

The Department of Foreign Affairs is in the process of finalising identity papers and travel documents for the mother and child, who are both Irish citizens.

A small number of members of the Defence Forces Army Ranger Wing were in Turkey to assist with the possible repatriation of Ms Smith.

The 38-year-old former member of the Defence Forces, who is from Dundalk, is the subject of a criminal investigation in Ireland.

Gardaí said she is "a person of interest" and will be questioned about suspected terrorist offences abroad when she returns to Ireland.

Ms Smith can be prosecuted under existing legislation, but that will be a matter for the Director of Public Prosecutions.

It is an offence under the Criminal Justice (Terrorist Offences) Act 2005 to engage in terrorist activity in or outside the State.

Turkey has already deported three foreign jihadists while more than 20 Europeans, including French and Germans, are in the process of being expelled to their countries of origin.

Turkey's interior ministry said it had deported an American and a Dane, while Germany confirmed that one of its citizens had also been expelled.

Turkish forces crossed into Syria last month

Seven more Germans are due for deportation on Thursday, the Turkish ministry said, while 11 French citizens and at least two additional Germans are also being processed.

Turkey has criticised western countries for refusing to repatriate their citizens who left to join IS in Syria and Iraq, and stripping some of them of their citizenship.

Interior Minister Suleyman Soylu said last week that Turkey had nearly 1,200 foreign members of IS in custody, and had captured 287 during its recent operation in northern Syria.

It was not clear whether those being deported were captured in Syria or Turkey.

"There is no need to try to escape from it, we will send them back to you. Deal with them how you want," Mr Soylu said on Friday.

A French official said that the French nationals being expelled were mostly women.

Some had been in Turkey for a long time while others arrived recently, the official added, without giving further details.

These 11 will be tried, the official said, adding that discussions were under way to determine whether their arrival will be handled by civil or military airport authorities.

A French foreign ministry source said at the weekend that a number of jihadist suspects had been quietly repatriated under a 2014 agreement with Turkey, and that the current deportations were nothing new.

"Jihadists and their families are regularly sent back to France and arrested as they leave the airplane. Most of the time it is done secretly. The news is not published, or released much later," the source said.

Meanwhile, a Dutch court ruled that the Netherlands should repatriate the children of women who joined IS, though the mothers themselves need not be brought back.

The ruling was a response to 23 Dutch women being held in detention camps in Syria, calling for their return along with their 56 children.

A German foreign ministry official confirmed the legal proceedings involving the ten German nationals in Turkey, saying they included three men, five women (at least two who lived in Syria) and two children.

Germany's interior ministry said "it did not wish to oppose the return of German citizens" and that authorities were still verifying the identities and the reasons for their repatriation.

Turkey has lately increased pressure on Europe to take responsibility for the problem.

"Turkey is not a hotel for Daesh members," Mr Soylu said last week, using another acronym for IS.

The return of jihadists follows Turkey's offensive last month in northern Syria against Kurdish militants who were holding thousands of IS fighters and their families.

Turkey said it would take control of captured jihadists in areas that it seized from Kurdish groups, but demanded greater assistance from Europe.

However, it remains unclear whether Turkey will be able to repatriate those who have lost their citizenship.

Although the 1961 New York Convention made it illegal to leave people stateless, several countries including Britain and France have not ratified it and recent cases have triggered prolonged legal battles.

Britain alone has stripped more than 100 people of their citizenship for allegedly joining jihadist groups abroad.

Additional reporting Colm Ó Mongaín, Juliette Gash, AFP, Reuters