Is it? How? In both situations you have a group of people in power who use their power to violate rights of another group of people. Unless you say that this is okay as long as the people whose rights are violated have a different passport.
They violate in a different way. /s