Immigration Act Article 26

A person shall apply to the National Immigration Agency for residence within thirty (30) days starting from the next day after the date of the occurrence of one of the following circumstances. The Agency shall issue an Alien Resident Certificate to the person upon the approval of the application.1. Has lost the nationality of the State and has not yet acquired a foreign nationality.2. Has lost his/her original nationality while having not yet acquired the nationality of the State.3. Is born as an alien in the State. At his/her birth, his/her father or mother hold or held an Alien Resident Certificate, or an Alien Permanent Resident Certificate.4. Has been granted by the Ministsry of Foreign Affairs on ad hoc basis to switch to a resident visa on diplomatic concerns
中文原文 入出國及移民法第26條
有下列情形之一者,應於事實發生之翌日起算三十日內,向移民署申請居留,經許可者,核發外僑居留證:
一、喪失我國國籍,尚未取得外國國籍。
二、喪失原國籍,尚未取得我國國籍。
三、在我國出生之外國人,出生時其父或母持有外僑居留證或外僑永久居留證。
四、基於外交考量,經外交部專案核准在我國改換居留簽證。

English translation for reference only; the Chinese text prevails. Not legal advice.