On one hand Japan is pretty xenophobic, and it’s virtually impossible to gain citizenship there, to the point where there’s a lot of people who just don’t count as citizens of anywhere because they were born in Japan but their grandparents weren’t natives. But on the other hand, Miku is technically an immigrant in canon (from a terrible dystopian future).
exCUSE ME SHES WHAT
Yeah the story is that she’s an android (gynoid?) from a future earth in which all music has been lost, who traveled back in time to August 2007 in order to change history and save the world (by becoming an idol singer, naturally).