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 is expected 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.
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.
Protesters were outside the hearing held at the Priory Law Courts in Birmingham on Monday.
Lawyers for Birmingham City Council told the hearing the aim of the injunction was not to prevent people expressing their views about what children are being taught but to protect pupils, parents and staff from “unacceptable behaviour”.
The courts also heard how a police investigation was still ongoing into an incident in which people who tied ribbons to the gates in support of the school and members of the LGBT community had eggs thrown at them.
But John Randall QC, representing the protesters, said there had been no arrests.
The protests, he said, had been peaceful and it would require a “snowflake sensitivity” to regard them as terrifying or threatening demonstrations.
The hearing is continuing to decide whether the injunction will remain in place until the trial.
On Sunday, it emerged Roger Godsiff, the MP for Hall Green, which covers Anderton Park school, will be spoken to by the Labour Party’s chief whip after he told campaigners protesting 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.