For all the discrimination classes, the court has to evaluate the necessity of such discrimination. For some classes, the bar is higher, such as race. For others, the bar is lower, such as age.