19Jurisdiction in cases other than divorce, etc.
(1)A court in Northern Ireland shall not have jurisdiction to make a custody order within section 1(1)(c) of this Act, other than one under section 45(1) of the [S.I. 1978/1045 (N.I. 15).] Matrimonial Causes (Northern Ireland) Act 1978, unless the condition in section 20 of this Act is satisfied.
(2)The High Court in Northern Ireland shall have jurisdiction to make a custody order within section 1(1)(d) of this Act if, and only if,—
(a)the condition in section 20 of this Act is satisfied, or
(b)the ward is present in Northern Ireland on the relevant date (within the meaning of section 20(6) of this Act) and the court considers that the immediate exercise of its powers is necessary for his protection.