The moment marks a significant step in a country where LGBTQ+ rights have largely advanced through court rulings rather than political action.