TBH if you're in politics it's about trade-offs. Following your conscience might mean you get voted out, and having the other side in power would be disastrous for the citizens (e.g. reversal of Obamacare, or now the upcoming "All your uterus are belong to us" thanks to Trump's justices). And the trade-off of "I want to keep the kleptocracy[1] out of power so the average folk don't get fucked even more" vs "I want to do the honourable thing and let these illegally detained foreigners free" weighs sadly against some foreigners.
[1] If we work under the premise that the Democrats is, on balance, still working for the people, whereas the GOP is on balance just a cronyist pro-elite party.