Good point. Also the general "X for Xs" stance obviously has been one used by racists at least here for a long time.
But my point is, the way he phrased it, he mainly used geography and not race. Africans are not black people, are they? The result of such a proposal (a moratorium on any migration) still would be one of racial purification in a way, but it would be a side effect.
In any case, I see
@Bald1 's stance through the lens that he originates from Hungary IIRC. People there are very anti-migration and protective of their culture. Kind of, maybe, the Japanese. Racism may play a part, but it is rather the desire to have cultural homogeneity and a slower pace of change.
It is clear there is huge overlap, just pointing out that motivator and result may be different. A non-racist policy may have racist consequences.