a. cannot provide proof of identity, or where there is reason to suspect that the foreign national has given a false identity, b. is applying for a residence permit under the Act, c. is applying for a Schengen visa, see section 10, a visa on humanitarian grounds, see section 11, or a national visa, see section 12, d. is applying for a local border traffic permit under an agreement between Norway and Russia, e. has been granted a residence permit or has had an application for a residence permit under this Act rejected, or f. has been rejected or expelled, or is believed to be staying in the realm illegally.