The state's so-called neutrality law is more important than the right to religious expression, said Justice Arne Boyer. A court spokesman said children "should be free of the influence" of religious symbols.
A woman representing an anti-discrimination organization speaks to reporters after the court ruling in Berlin
A Berlin court on Wednesday ruled that city authorities took the right decision to uphold the state's neutrality law by barring a primary school teacher from wearing a headscarf during classes.
Under the city state's so-called neutrality law, public employees are prevented from wearing overt religious symbols and clothing. Justice Arne Boyer said such neutrality takes precedence over the right to free religious expression.
"Primary school children should be free of the influence that can be exerted by religious symbols," said Martin Dressler, a court spokesman.
The court, however, said the plaintiff could continue teaching older students in a public secondary school if she desired. The teacher, who was not present during the ruling, filed a lawsuit against the state, claiming she was denied the right to religious freedom.
Wider debate on religious freedom
In 2015, Germany's Constitutional Court ruled that a blanket ban on teachers wearing headscarves was against the right to religious freedom. However, states have dealt with the matter in varying ways.
Last year, a Muslim teacher won a lawsuit against Berlin authorities, arguing that they had discriminated against her because she wore a headscarf. The teacher was awarded €8,680 ($10,300) in compensation, but the court said it was a one-off ruling.
Monday's ruling comes at a time of heated debate over the use of religious symbols in public offices after Bavarian Prime Minister Markus Söder ordered Christian crosses be hung in all state buildings. The move was criticized by lawmakers and Catholic officials.
Germany's Basic Law guarantees freedom of religion and expression.
ls/kms (dpa, AFP)