A court trial will be held over whether protests can be held outside a Birmingham primary school.
Parents had been gathering at Anderton Park Primary School over concerns children were "too young" to learn about LGBT relationships.
A temporary injunction was put in place to prevent protests from being held directly outside the school.
A High Court judge ruled a trial would take place next month to decide if the injunction can remain in place.
The trial is scheduled to take place between 22 and 31 July and set to last two to three days.
The protests have been taking place for weeks, with parents saying they are concerned the lessons are not "age appropriate" and they contradict Islam.
The High Court injunction has been in place since 31 May, banning protests outside the school, which had to close early before half-term due to escalating action.
The council said it sought the action after the risk to children became "too serious to tolerate".
But protests have continued and, on Friday, parents held their first demonstration since it was brought in, where about 40 people gathered outside the exclusion zone on an area of grass about 100m from the school.
Speaking about the injunction on BBC Radio 4 ahead of the hearing, ex-chief prosecutor Nazir Afzal, who was brought in to mediate the situation, said: "For the last several weeks now it has been torture for those at that school, working at that school, and [the injunction] is giving the school the breathing space to carry on the conversations it is having that will resolve this dispute."
Nazir Afzal said he had "examined the curriculum" and there was "no specific LGBT content and no reference to gay sex".

West Midlands Police is investigating threats made against head teacher Sarah Hewitt-Clarkson and says officers are also looking into "disorder" outside the school in which eggs were thrown at the counter-protesters as well as three reports of assault and two of criminal damage.
On Monday, it said its inquiries into the incidents were continuing and there was no update at present.
On Sunday, it was confirmed Roger Godsiff, the MP for the Hall Green constituency, which covers Anderton Park school, will be spoken to by the Labour Party's chief whip after he told the campaigners against the lessons "you're right".


Follow BBC West Midlands on Facebook, on Twitter, and sign up for local news updates direct to your phone.