In 2018, the Supreme court invalidated a colonial-era law criminalizing gay sex and enhanced constitutional protections for the community.