A judge handed down a permanent injunction in favor of houses of worship who are renting space in public schools.
The victory means that those churches will continue to be able to hold services in public buildings.
The city is planning to appeal the ruling.