Yes, but this aspect of Japan seems to be often overlooked by the natives here, who are puzzled why 'others' be annoyed by it until you treat them the same way. I have had a soft right-winger at another site try to aoid admitting anything, looking for any excuse as to why Japanese might ;

not sit near any foreigner in some cases (old, young, fat, thin, short, tall, etc)

always direct questions to another if they are Asian looking, even if they don't understand Japanese

insist on not allowing you as you 'might' upset the other customers

If this is traditional behaviour, I'm glad I'm not atraditional xenophobe-racist!