Even if they came here against the laws of the country in question?
More gibberish from the illegal boosters.
In some cases, yes. Prohibition on cruel and unusual punishment for example. Right to due process, which need not be trial, just a hearing or other formal procedure to determine if they are here legally. But they are not part of the group "The People" so they don't have the rights guaranteed to that group, such as the right to keep and bear arms.