If religion wasn't part of the law then courts wouldn't be able to order the city to pay them. Like it or not but it was their right to sue and the court thinks that they are right and that the city didn't follow the law.
Dare you to apply logic to a hate thread! Dare you!
That said the US is that crazy country, where you can sue McDonalds for billions just because the coffee was hot and you spilled it in your lap, am I right?!