What are the challenges in balancing religious freedoms with secular principles in public spaces?

The Supreme Court refused to entertain a plea against puja at Ladle Mashak Dargah on Mahashivaratri. I am curious about the complexities involved in ensuring both religious rights and secular governance.