In case this is significant, this happened in Germany. Today a co-worker explained me how he believes how almost only the lazy immigrants who can do nothing leave their countries to come here, among others. Then I smiled and pointed to me -I am myself a immigrant-, and he told me he didn't mean me.
I didn't take it personally, and I focused on what this says about him. I also decided to not get too close and spend part of my free time with him. But on the other hand there is a rise of right-wing parties in Europe (here AfD) and I believe it is important to stop this. Because of that I'm wondering if there is something I should do in the office besides pointing at myself as an immigrant, and if it is ethical to do so (I mean to do something about xenophobic beliefs, not pointing at myself).
My concrete questions are: is it ethical to try to change my co-worker's mind when in the office when he starts talking in a pejorative way about immigrants? And do I have some possibility to make some change, even if it is small? If so, what would be a good approach? I thought about giving some information for example about why the majority of immigrants leave their countries, or asking the proper questions (example: the place you live has as good as no immigrants. Then why are you afraid your kids have as good as only immigrant-kids as classmates?) Or maybe I should just drop it and mind my business?
Update: thanks for your answers. They helped me to clear my mind. I have decided to be as friendly to him as I was before yesterday and to keep treating him with the same respect he always showed me. Also to be more careful about what I say to not send the wrong signals. If he brings up the subject again, I can always politely refuse to talk about that. Since I don't feel discriminated nor have I see him discriminate anyone, I won't go to HR.