8. (1) Upon application, a residence permit will be issued to an alien who arrives in Denmark under an agreement made with the United Nations High Commissioner for Refugees or similar international agreement, and who falls within the provisions of the Convention relating to the Status of Refugees (28 July 1951), see section 7(1). (2) In addition to the cases mentioned in subsection (1), a residence permit will be issued, upon application, to an alien who arrives in Denmark under an agreement as mentioned in subsection (1), and who risks the death penalty or being subjected to torture or inhuman or degrading treatment or punishment in case of return to his country of origin, see section 7(2). (3) In addition to the cases mentioned in subsections (1) and (2), a residence permit will be issued, upon application, to an alien who arrives in Denmark under an agreement as mentioned in subsection (1), and who would presumably have satisfied the fundamental conditions for obtaining a residence permit under one of the provisions of the Aliens Act if he had entered Denmark as an asylum-seeker. (...)