Protesters against LGBT teaching at a primary school have been banned from gathering outside the gates by a High Court injunction.
Birmingham City Council pursued the legal action after months of demonstrations outside Anderton Park Primary School.
The school had to close early before half-term due to escalating action.
The council said it sought the urgent injunction after the risk to children became “too serious to tolerate”.
The council said the behaviour of demonstrators was “increasingly unacceptable”.
It said it made the application in order to protect staff and pupils when they return from their half-term break on Monday.
Protesters were not made aware of the High Court application but told the BBC they still intended to gather next week on a street further away from the school.
The injunction will be in place until 10 June, when those against the diversity lessons will be given the chance to make their case in front of a judge.
The exclusion zone covers the streets around the school, which sits on Dennis Road, from Taunton Road, Yardley Lane and Birchwood Road.
Council leader Ian Ward said “common sense had prevailed”.
He said: “Children right across Birmingham should be free to attend school safely and without disruption.”
He urged parents and campaigners to “take this opportunity to engage in constructive dialogue with the school”.
Parents began protesting over concerns their children were “too young” to learn about LGBT relationships. They also said the lessons contradicted Islam.
On Thursday, the former chief prosecutor for the north-west of England, Nazir Afzal, who was brought in to mediate the matter, said parents were being “manipulated”.
Follow BBC West Midlands on Facebook, on Twitter, and sign up for local news updates direct to your phone.