a. the foreign national is excluded from protection under section 31, or b. the foreign national is on reasonable grounds deemed to pose a threat to national security or has been finally convicted of a particularly serious crime and therefore pose a threat to Norwegian society.