The move comes despite hostility to LGBTQ+ rights from the country's conservative prime minister.