And government regulations say they also may have “separate toilet, locker rooms and shower facilities on the basis of sex.” The justices said they would rule on the validity of the Education Department’s policy and on whether the 1972 law protects transgender students from discrimination.