Law forgives because society does!

I was in the salon when the Chandigarh stalking case was being reported on the TV.
I noticed people sitting there were quite sympathetic with accused and made astonishing remarks such as how can be the daughter of an IAS be so black and how can a guy like this go after such an ugly girl and so on and so on!
Next thing I learned that the accused got bail in no time!
So I presume the law went soft on the accused because the society has already pardoned him for his alleged crime.
I guess this is just another example of how judicial impunity arises from social impunity and how hard it is to get justice when your class has not enough representation in the state machinery.