Guess what would happen to a business which openly proclaimed it would not hire blacks, or a university which proclaimed itself a "traditionally white" university, from which blacks would be excluded.
That’s different.
A private institution cannot discriminate on race, but can on academic ability.