Military academies can still consider race in admissions, but the rest of the nation’s colleges and universities cannot, court rules