Bullshit. What was this guy dress like? Black, white, or whatever, you're judged primarily by the way you dress.
A white guy dressed like a hoodrat doesn't fair much better with the police.
Hell, I'm white and I've had a pine pig (our special term for National Seashore park rangers) un-holster his gun because I approached him and asked how much money a parking ticket was going to cost the pretty girl he was writing it for. I was 16 and weighed in at 145lbs, wearing board shorts and a t-shirt.
As a non-white, who is usually dressed smartly and frequently in a suit, in my experience, that seldom helps. I'm still stopped at almost every airport, border, or other "random" check. Whilst I won't assert that there's necessarily bigotry at work, there's certainly a selection bias. To use your example, a non-white guy dressed as a "hoodrat", amongst a majority white "hoodrat" population, will experience this.
It's inevitable, the poster above who called it a majority privilege is right on the mark.