Picking someone just because they are black is still racism but it is more acceptable.
Choosing a black over a better-qualified white is still racial preference, even if they both are qualified in the absolute sense.