Court prevents transit discrimination