Example of the above:
In the lead up to the Rohingya genocide in Myanmar, the government published a formal list of every recognized ethnic group in the country to specifically exclude the Rohingya. This allowed them to paint the group as “illegal immigrants from Bangladesh” (despite having been in the country for centuries), remove their citizenship and thus their rights to education and work.
Link about the 1982 citizenship law: https://burmacampaign.org.uk/media/Myanmar’s-1982-Citizenship-Law-and-Rohingya.pdf
Is that iOS, Android or PC? Do you have a link?