The law imposes 10 to 15-year prison sentences for same-sex relationships and lesser penalties for gender-transition procedures or advocacy for certain organisations.