That was the case in USSR. There were university admission quotas for workers, peasants, etc. In practice, they resulted in discrimination agains Jewish applicants.
To fulfill the class quotas, the examiners had to fail a disproportionate number of some of the strongest applicants. A whole set of "Jewish problems", colloquially known as " coffins", was developed. At MIT, Tanya Khovanova has written on this subject.