Can of worms indeed.

I honestly don't know the solution.

What I would say is that it's not about banning people based on a dislike of them or on national characteristics or any of the areas where discrimination usually resides. The bans are to make a point-in favour of a cause that is hard to argue with.

Does that make it ok?

Like I say...I don't know.