The man may not have been motivated by an explicit belief that black people are dirty. Maybe he's just officious asshole. But even under this charitable interpretation, well, officious assholes shit on people they think are vulnerable, where they think they can get away with it. There's a 0.000001% chance his victims' race and gender doesn't come into that.
Some people in this thread act like calling someone or something racist is like a verdict in a criminal trial where the burden of proof should be impossibly high (except how often to people of color get all that benefit of the doubt in the legal system?). That's bullshit. Racism is part of the fabric of our society, have the intellectual honesty to acknowledge it instead of coming up with excuses to avoid the issue. And no one is getting sent to jail for being called racist on the internet anyway.
I mean that's just it. I'm sure if you asked the guy he'd swear he's not racist, and you know what? He probably honestly believes it. Nonetheless, something about this Black woman rubbed him the wring way so much so that it encouraged him to walk up to her and asked her if she bathed and he rationalized it as him just doing some kind of public service and nothing racist. Hell I'm sure that lawyer that was yelling at Mexicans in Subway swears he's not a racist too. It's this country man, it's how it works. You ain't racist unless you make a public declaration that you hate Black people or other minorities. Meanwhile, people will continue to target others and believe it's innocent because that's what this country WANTS to believe.
"I'm not racist but, Mexicans sure trash up a place"
"I'm not a racist but, Black people don't want to work"
"I'm not racist but, I doubt that Black woman showered before getting in the pool. In fact, I'm not racist but I think I'll go ask her!" (completely ignores all the White people on his way over there).
This is America and I see it all the time.