Wow, racism in Japan? Next you'll tell me Japan is xenophobic.
Well, they were perfectly fine with foreign visitors. Except for the cutting off the head part.