The ruling sidestepped arguments about diversity-based discrimination, which have gained some traction in the federal court system.