How does the Supreme Court's stance on Scheduled Castes and religion impact the idea of social justice in India?

The Supreme Court has given a ruling related to Scheduled Castes and their association with religion. I want to understand how such legal decisions shape the broader goal of achieving social justice in a diverse society like India.