Nothing about justice requires that punishment be meted out in strict accordance with the demographic breakdown of a population except insofar as wrong things are done in strict accordance with the same demographic categories.
Maybe you're assuming that to be the case, but I don't think you'll find any evidence to support such a claim.