A Missoula District Court judge on Thursday heard oral arguments in a case challenging a 2025 state law that could change how some Montanans use public bathrooms and other spaces.