Simple: if you specifically did not invite them, tell your friend that did why it strikes you as unacceptable (racism, obviously) and then ask the person to leave since it's your home and private property if unwilling to change to civilian clothes, as that's commonly considered offensive most everywhere nowdays.