In a unanimous decision, five supreme court justices ruled the colonial-era law was a weapon used to harass members of India's gay community resulting in discrimination. After the ruling, opponents of the law danced and waved flags outside the court.