The Social Security (Ireland) Order (Northern Ireland) 2007

(6) Where a person is not gainfully employed, any liability for contributions shall be determined under the legislation of Guernsey if he is ordinarily resident in Guernsey, or under the legislation of Jersey if he is ordinarily resident in Jersey.