India's Supreme Court Monday said that it would reconsider its 2013 order which criminalized gay sex in this country by upholding a colonial-era law, Xinhua reported.

A three-judge bench, led by Chief Justice Dipak Misra, said the apex court's 2013 judgment upholding the validity of Section 377 of Indian Penal Code, which considers sex between consenting adults of same gender a crime, appeared to hurt individual sexual preferences.

"Choice can't be allowed to cross the boundaries of law but the confines of law can't trample or curtail the inherent right embedded in an individual under Article 21, the right to life and liberty," the court said.

"The 2013 judgment needs to be reconsidered," the court said in the wake of a petition filed by five members of the lesbian, gay, bisexual, transgender and queer (LGBTQ) community."

The court also referred the petition to a higher bench.