If the court agrees to hear the case, it would be the first time it has considered a law restricting transition care for minors. Such laws have been enacted in 22 states.