There is, in fact, an ethnic difference between Germans and Poles. On the other hand, you are correct that people often don't describe something as racism if they feel it is justified (or at least excusable) based on history.
It still is racism, and a lot of what is described as racism has similar roots; people are highly selective (and often racist) on which ethnic bigotries they describe as “racism”.
They also don't describe something as racism if it's not based on race.
>It still is racism, and a lot of what is described as racism has similar roots; people are highly selective (and often racist) on which ethnic bigotries they describe as “racism”.
It seems like you fall into the error of describe something as racism if you feel it is not justified and non-excusable, not caring one iota whether it has to do with race or not.
Most ethnic bigotries are totally unrelated to race. And not forgiving some country for bombing yours, or gasing your parents in concentration camps is not an "ethnic bigotry" anyway.
The explanation about it not being racist is simple: this has nothing to do with your race, and more with what your people and army did to them.
Others with the same race as you, but different nationality, wouldn't haven't gotten the same treatment, thus, not racist.