A German judge has banned a Syrian woman from appearing in court without removing her headscarf, claiming “religiously-motivated” attire is prohibited.

Najat Abokal, a lawyer representing the woman, said the order was made for divorce proceedings in the district court in Luckenwalde, Brandenberg.

She said the letter warned of legal action against the woman if she does not comply, but also ordered her to appear in person to present her case against her husband.

Ms Abokal has accused the judge of acting “unconstitutionally”, the Tagesspiegel newspaper reported, saying she would contest the order amid fierce debate over Islamic dress in Germany.

One of her colleagues confirmed the information to The Independent but said no further comment could be given while the case continued.

A spokesperson for the district court in Luckenwalde said they could not comment, saying the judge was responsible for conduct within the courtroom.

The German parliament has voted in favour of a partial ban on the burqa and other Islamic veils that cover the face, while existing “neutrality” laws can be used to forbid the wearing of any religious or political symbols by some judicial officials.

Angela Merkel calls for burqa ban 'wherever legally possible' in Germany

But the restrictions do not apply to witnesses, claimants, victims or any other participants in legal proceedings, while a 2006 ruling by the Federal Constitutional Court found a judge had no right to throw out a spectator for wearing a headscarf..

Klaus F Gärditz, an law professor at Bonn's Friedrich-Wilhelms University, described the letter as an attempt to “humiliate” the woman that violates freedom of religion.

He accused the judge of “pursuing provincial racism and sexism under the pretext of following legal procedures”, noting that only women were affected by such orders in an article for the Legal Tribune Online.

The case comes amid intense debate over Islamic veils in Germany, where a law to partially ban the burqa – but not the hijab (headscarf) - has not yet come into force.

Angela Merkel announced her support for the move in December, saying full-face veils were “not acceptable in Germany” and calling them to be banned “wherever it is legally possible”.

Some right-wing politicians have called for a full ban on the burqa in public, which has been imposed in France and Belgium, but ministers have said a blanked prohibition would violate the country’s constitution.

Refugees settle in Germany Show all 12 1 /12 Refugees settle in Germany Refugees settle in Germany Germany Mohamed Zayat, a refugee from Syria, plays with his daughter Ranim, who is nearly 3, in the one room they and Mohamed's wife Laloosh call home at an asylum-seekers' shelter in Vossberg village on October 9, 2015 in Letschin, Germany. The Zayats arrived approximately two months ago after trekking through Turkey, Greece and the Balkans and are now waiting for local authorities to process their asylum application, after which they will be allowed to live independently and settle elsewhere in Germany. Approximately 60 asylum-seekers, mostly from Syria, Chechnya and Somalia, live at the Vossberg shelter, which is run by the Arbeiter-Samariter Bund (ASB) charity 2015 Getty Images Refugees settle in Germany Germany A refugee child Amnat Musayeva points to a star with her photo and name that decorates the door to her classroom as teacher Martina Fischer looks on at the local kindergarten Amnat and her siblings attend on October 9, 2015 in Letschin, Germany. The children live with their family at an asylum-seekers' shelter in nearby Vossberg village and are waiting for local authorities to process their asylum applications. Approximately 60 asylum-seekers, mostly from Syria, Chechnya and Somalia, live at the Vossberg shelter, which is run by the Arbeiter-Samariter Bund (ASB) charity Getty Images Refugees settle in Germany Germany Kurdish Syrian asylum-applicant Mohamed Ali Hussein (R), 19, and fellow applicant Autur, from Latvia, load benches onto a truckbed while performing community service, for which they receive a small allowance, in Wilhelmsaue village on October 9, 2015 near Letschin, Germany. Mohamed and Autur live at an asylum-applicants' shelter in nearby Vossberg village. Approximately 60 asylum-seekers, mostly from Syria, Chechnya and Somalia, live at the Vossberg shelter, which is run by the Arbeiter-Samariter Bund (ASB) charity Getty Images Refugees settle in Germany Germany Mohamed Ali Hussein ((L), 19, and his cousin Sinjar Hussein, 34, sweep leaves at a cemetery in Gieshof village, for which they receive a small allowance, near Letschin Getty Images Refugees settle in Germany Germany Mohamed Zayat, a refugee from Syria, looks among donated clothing in the basement of the asylum-seekers' shelter that is home to Mohamed, his wife Laloosh and their daughter Ranim as residents' laundry dries behind in Vossberg village on October 9, 2015 in Letschin, Germany. The Zayats arrived approximately two months ago after trekking through Turkey, Greece and the Balkans and are now waiting for local authorities to process their asylum application, after which they will be allowed to live independently and settle elsewhere in Germany Getty Images Refugees settle in Germany Germany Asya Sugaipova (L), Mohza Mukayeva and Khadra Zhukova prepare food in the communal kitchen at the asylum-seekers' shelter that is their home in Vossberg village in Letschin Getty Images Refugees settle in Germany Germany Efrah Abdullahi Ahmed looks down from the communal kitchen window at her daughter Sumaya, 10, who had just returned from school, at the asylum-seekers' shelter that is their home in Vossberg Getty Images Refugees settle in Germany Germany Asylum-applicants, including Syrians Mohamed Ali Hussein (C-R, in black jacket) and Fadi Almasalmeh (C), return from grocery shopping with other refugees to the asylum-applicants' shelter that is their home in Vossberg village in Letschin Getty Images Refugees settle in Germany Germany Mohamed Zayat (2nd from L), a refugee from Syria, smokes a cigarette after shopping for groceries with his daughter Ranim, who is nearly 3, and fellow-Syrian refugees Mohamed Ali Hussein (C) and Fadi Almasalmeh (L) at a local supermarket on October 9, 2015 in Letschin, Germany. All of them live at an asylum-seekers' shelter in nearby Vossberg village and are waiting for local authorities to process their asylum applications, after which they will be allowed to live independently and settle elsewhere in Germany 2015 Getty Images Refugees settle in Germany Germany Kurdish Syrian refugees Leila, 9, carries her sister Avin, 1, in the backyard at the asylum-seekers' shelter that is home to them and their family in Vossberg village in Letschin Getty Images Refugees settle in Germany Germany Somali refugees and husband and wife Said Ahmed Gure (R) and Ayaan Gure pose with their infant son Muzammili, who was born in Germany, in the room they share at an asylum-seekers' shelter in Vossberg village on October 9, 2015 in Letschin, Germany. Approximately 60 asylum-seekers, mostly from Syria, Chechnya and Somalia, live at the Vossberg shelter, which is run by the Arbeiter-Samariter Bund (ASB) charity, and are waiting for authorities to process their application for asylum 2015 Getty Images Refugees settle in Germany Germany German Chancellor Angela Merkel pauses for a selfie with a refugee after she visited the AWO Refugium Askanierring shelter for refugees in Berlin Getty Images

Concerns about integration have also risen following the arrival of more than a million asylum seekers, who are mainly from Syria and other countries in the Middle East.

A poll carried last year showed that 81 per cent of Germans supported a ban on the burqa within public institutions.

Dutch MPs voted for a similar prohibition in the Netherlands last year, covering public transport, education, healthcare and government buildings and punishing any infractions with fines.

Support for bans on full-face veils has been growing across Europe since France became the first country to implement such a law in 2011, followed by countries including Belgium and Bulgaria, with partial bans being imposed in Austria and parts of Spain, Italy and Switzerland.

Attempts to ban female employees from wearing headscarves and veils have sparked several legal cases, which have so far seen the European Court of Human Rights and European Court of Justice support national prohibitions.