In Germany there is a distinction between citizens and non-citizens.
The most important basic rights are enjoyed by everyone.
Only citizens enjoy some basic rights (freedom of assembly, for example).
But there is a "catchall" basic right (Article 2, paragraph I) that can be used by non-citizens to claim those rights, as well.
The difference is that this catchall basic right is weaker when weighing it against conflicting basic rights (practical concordance) and it has imminent limitations (statutes can override it – although that must be useful and proportional).
Germany had a history of the government claiming "those people there aren't 'people' hence the rights don't apply to them". I suspect the courts might take that into consideration if the government tries that line again.
The most important basic rights are enjoyed by everyone.
Only citizens enjoy some basic rights (freedom of assembly, for example).
But there is a "catchall" basic right (Article 2, paragraph I) that can be used by non-citizens to claim those rights, as well.
The difference is that this catchall basic right is weaker when weighing it against conflicting basic rights (practical concordance) and it has imminent limitations (statutes can override it – although that must be useful and proportional).