The British government said Tuesday that schools can ban students from wearing Muslim veils if teachers believe they effect safety, security or pupils' learning.

School administrators have the right to ban students from covering their faces under a new uniform policy, but educators should speak with parents before introducing such a ban, the Education Ministry said in a statement.

"Schools should consult parents and the wider community when setting uniform policy," Schools Minister Jim Knight said.

"And while they should make every effort to accommodate social, religious or medical requirements of individual pupils, the needs of safety, security and effective learning in the school must always take precedence," he said.

The ministry said head teachers had always had the right to set their school's uniform policy. Several recent court cases have challenged schools' decisions to ban some forms of Islamic dress.

Britain's highest appeals court ruled a year ago that a school acted properly in refusing to allow a student to wear a jilbab — a long, flowing gown covering all her body except her hands and face. The school said the clothing item was not permitted under school policy.

The issue of face-covering veils has sparked a debate over religious tolerance and cultural assimilation in Britain, which is home to 1.6 million Muslims.