Inamulhaq Anwar (pictured) was struck off in February this year, but he will not be allowed back into the classroom

Two teachers who were struck off for feeding pupils a 'diet of Islam' at a school linked to the 'Trojan horse' scandal are being allowed back into the classroom.

Inam Anwar and Akeel Ahmed, who taught at Park View in Birmingham and were part of WhatsApp group 'Park View Brotherhood', were banned in February.

But a High Court judge found the teachers were treated 'unfairly' and he overturned the ban today.

They claimed they were targeted after the 'Trojan Horse' letter was published in 2013 - which detailed a plot to introduce hardline Muslim teaching into schools.

Both men were struck off this year after a National College of Teaching and Leadership (NCTL) panel found they exercised 'undue religious influence' on pupils.

The panel heard the pupils at the 600-strong secondary school were never taught about safe sex, relationships or contraception.

Anwar, the head of modern languages, and Ahmed, in charge of religious studies, were accused of changing the curriculum so sex education was not taught.

NCTL officials also said Ahmed organised religious assemblies where boys were segregated from girls.

He was also said to have encouraged prayer during the school day through posters and a call to prayer on the school's loudspeaker system.

Both men were also accused of taking part in a WhatsApp chat that discussed the murder of soldier Lee Rigby and the Boston Marathon bombings.

Anwar and Akeel Ahmed taught at Park View school in Birmingham and were part of WhatsApp group 'Park View Brotherhood'

Anwar (pictured), the head of modern languages, was accused of changing the curriculum so sex education was not taught

They were cleared of distributing or using leaflets, promoting the view that a married man has an 'entitlement' to have sex with his wife.

The NCTL said their misconduct was serious and Education Secretary, Nicky Morgan, agreed that they should be banned from teaching in England indefinitely.

But Mr Justice Phillips today ruled at London's High Court that the men's treatment had been 'unjust'.

He accepted that important evidence had not been disclosed to the pair and there had been 'serious procedural impropriety' in the NCTL's fact-finding process.

Upholding the pair's judicial review challenge, he ruled their treatment had been 'unfair' and they were reinstated back into the profession.

As a further hearing of the men's cases by the NCTL was possible, the judge expressed no view on 'the underlying merits of the allegations'.