The order blocks protesters from gathering outside or near Anderton Park Primary School, from distributing leaflets and from making offensive comments about staff on social media.
However, Mrs Justice Moulder said a judge will reconsider the injunction at a hearing in Birmingham on 10 June.
Protesters, who face arrest if they break the order, will then have the chance to make their case in court.
They could also file an application to discharge the injunction before that date, providing they give the council 48 hours’ notice.Council leader Ian Ward said:“This interim injunction has been secured in time for the return to school on Monday [3 June] and now hopefully the pupils will be able to continue their education in peace for the remainder of the summer term. We’ll continue to support the school and its staff and I would urge parents to take this opportunity to engage in constructive dialogue with the school about any concerns they may have.”
LGBT+ lessons: Judge to reconsider ban on protests at Birmingham primary school
Read more and watch the video LGBT+ lessons: Judge to reconsider ban on protests at Birmingham primary school
Please tell us your thoughts in comments or via Twitter ~ Tamsin