Universities and colleges are, by their very nature, discriminatory. For instance, I didn’t get into UNC because of my grades. So naturally, they have a lot of latitude on things like race and gender.
Grades are arguably a measure of merit and anticipated success.