“immigration offence” means —
(a) an offence involving conduct which relates to the entitlement of one or more persons who are not nationals of the United Kingdom to enter, transit across, or be in, the United Kingdom (including conduct which relates to conditions or other controls on any such entitlement); , or
(b) (insofar as it is not an offence within paragraph (a)) an offence under the Immigration Acts or in relation to which a power of arrest is conferred on an immigration officer by the Immigration Acts;
“nationality offence” means an offence involving conduct which is undertaken for the purposes of, or otherwise in relation to, an enactment in—
(a) the British Nationality Act 1981,
(b) the Hong Kong Act 1985,
(c) the Hong Kong (War Wives and Widows) Act 1996,
(d) the British Nationality (Hong Kong) Act 1997,
(e) the British Overseas Territories Act 2002, or
(f) an instrument made under any of those Acts…
…
“officer” means—
(a) for the purposes of sections 24 to 25A—
(i) an officer of Revenue and Customs (in relation to detention by, attendance for the purpose of being questioned by, or arrest by, such an officer), or
(ii) an immigration officer (in relation to detention by, attendance for the purpose of being questioned by, or arrest by, such an officer); and
(b) for the purposes of the other provisions of this Part of this Act, an officer of Revenue and Customs.;
(a) a certificate of the Commissioners for Her Majesty's Revenue and Customs that an officer of Revenue of Customs, or
(b) a certificate of the Secretary of State that an immigration officer,…
(b) …