a. a Norwegian or Nordic national who resides or intends to establish residence in the realm, b. a foreign national with a permanent residence permit for the realm, c. a foreign national who has or is granted lawful residence in the realm under a residence permit that can provide a basis for a permanent residence permit, or d. a foreign national who holds a residence permit under the provision in section 34 without the collective protection arrangement having ended.