20Habitual residence or presence of child.
(1)The condition referred to in section 19 of this Act is that on the relevant date the child concerned—
(a)is habitually resident in Northern Ireland, or
(b)is present in Northern Ireland and is not habitually resident in any part of the United Kingdom,
and, in either case, the jurisdiction of the court is not excluded by subsection (2) below.
(2)For the purposes of subsection (1) above, the jurisdiction of the court is excluded if, on the relevant date, proceedings for divorce, nullity or judicial separation are continuing in a court in England and Wales or Scotland in respect of the marriage of the parents of the child concerned.
(3)Subsection (2) above shall not apply if the court in which the other proceedings there referred to are continuing has made—
(a)an order under section 4(5) or 13(6) of this Act (not being an order made by virtue of section 13(6)(a)(i)), or
(b)an order under section 5(2) or 14(2) of this Act which is recorded as made for the purpose of enabling proceedings with respect to the custody of the child concerned to be taken in Northern Ireland,
and that order is in force.
(4)Subject to subsections (5) and (6) below, in this section “the relevant date” means the date of the commencement of the proceedings in which the custody order falls to be made.
(5)In the case of a custody order under section 5 of the [1886 c. 27.] Guardianship of Infants Act 1886 “the relevant date” means the date of the application for the order (or first application, if two or more are determined together).
(6)In the case of a custody order within section 1(1)(d) of this Act “the relevant date” means—
(a)where an application is made for an order, the date of the application (or first application, if two or more are determined together), and
(b)where no such application is made, the date of the order.