What challenges can arise when the judiciary intervenes in religious institution management?

The Supreme Court is set to hear a plea about appointing a receiver for a Haridwar temple. I want to understand the broader implications when courts get involved in managing religious places.