When there are bad things going on in the land, whom do you help first? The powerful and talented leaders? The poor lonely beggar who has no influence in the community?
Lev 19:15 'Ye, shall do no unrighteousness in judgment: thou salt not respect the person of the poor, nor honor the person of the mighty; but in righteousness, shalt thou judge thy neighbor.'
If a person considers themselves a minority, they are to be judged equal to that who is not minority and is mighty in the land.
For example a LGBT teacher who molested a child (many minority supporters claim LGBT people are less likely to do bad things) is not given justice, simply because he or she calls them selves xyz, then justice is not served in the land. If a person who is a typical white male plumber stole some goods from a business, he deserves justice for his wicked deeds (many folks poetry the plumbers and blue collars as the good source in society).
Right judgment is just that.... right.
Even the Jewish and other minority groups have to have justice for their people and among their people.... sometimes minority groups do not judge rightly.... in the eyes of God.