True - but that's not the point.  If your friend was ill they wouldn't be trying to go to the bar or cross the border.  So your example makes no sense.

Think of it as "you turn up at the bar with your friends and the bouncer checks everyone's ID and tells one of them that they can't enter because they have a Muslim sounding name".  That's what's going on here.