The Dutch appeals court on Friday overturned a ruling saying the government must help repatriate the children of women who joined the Islamic State group in Syria.Twenty-three jihadist women had launched a lawsuit earlier this month demanding the Netherlands return them and their 56 children from detention camps.
A district court in The Hague ruled in their favour on November 11, ordering the government to "actively" aid the children, but not the mothers.
But the appeals court said it was a political issue and therefore not one for a judge to deal with.
Prime Minister Mark Rutte hailed the judgment, saying it was "strange that a court intervened in foreign policy."
"They should be tried in the region, that is my viewpoint. I didn't send these children to Syria, it was their parents who made such a ridiculous decision," he told reporters.
Turkey began deporting foreign jihadists earlier this month and has criticised Western countries for refusing to repatriate their citizens who left to join IS in Syria and Iraq.
On Friday two Dutch IS women who were deported from Turkey were due to appear in court in the port city of Rotterdam.
The women -- a 25-year-old woman, and a 23-year-old woman with two children aged three and four -- were arrested on arrival at Amsterdam's Schiphol airport on Tuesday.