EDIT: eh, I've read your post again and I'm wrong, you're right, it's the same situation.
But is racist with with friends of other races really classical example of hypocrisy? I hadn't encountered it (but I live in monocultural country).
He probably means the classic "I'm not racist, I have black friends and all, but blacks in general do [this and that]".
Which is often considered a classic example of hypocrisy but I don't think it is. In a lot of cases it's not even racism.
E.g a guy could have Mexican friends (in the US or Mexico) but be against mexican illegal immigrants.
This is often taken to mean he is racist, but in actuality he is against illegal immigration, not against a race in general (he might consider that low end jobs are numbered, or that wages in those jobs are getting lower due to increased competition from illegal immigrants, or that lots of hungry, unemployed opportunity seekers from Mexico could resort to crime to feed themselves etc).