There are certain systems for obtaining the nationality of a country. These systems may differ from one country to another. People should observe the systems of their country that do not oppose Shari`ah (Islamic law), for such observation entails cooperation in (Part No. 13; Page No. 221) righteousness and piety. Allah (Glorified be He) has ordered Muslims to do this:
Help you one another in Al-Birr and At-Taqwâ (virtue, righteousness and piety)
On the other hand, disobeying these systems in a way that brings corruption and harm to individuals, the community, and the State is an act entailing cooperation in sins and transgression, which is prohibited by Allah. Allah (Exalted be He) says:
...but do not help one another in sin and transgression.
In this case, since the shareholder assumes the identity of the citizen, this deal is based on lies, cheating and deception, which are all impermissible. Even more, gaining money out of this deal is the same as eating up money unjustly, because both parties have gained money through unlawful means, namely,
through lying, cheating, and being disloyal to the state.
May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.