The purpose, therefore, of the insertion in section 6 of the phrase 'of such other foreign government of which at the time such Chinese person shall be a subject' was to require Chinese immigrants owing permanent allegiance to governments other than China to present certificates from the governments of their allegiance.