That was true even in the 1980s. Judges were often "tough as nails, no nonsense" black women.
And don't forget all the small town black sheriffs.
You can actually guess whether a small town sheriff is good or evil by his skin color. If a group of city folks enter a rural small town, especially in the South, and the sheriff is black, he's a good guy. If he's white, he's an evil sheriff and part of whatever wicked deeds are occurring in that town.
Lol you are right! I didn’t think about that part of the Hollywood mindset.