—(1) Subject to this section, the court shall not make final any judgment of divorce or nullity of marriage or grant a judgment of judicial separation unless the court is satisfied as respects every child —
that arrangements have been made for the welfare of the child and that those arrangements are satisfactory or are the best that can be devised in the circumstances; or
that it is impracticable for the party or parties appearing before the court to make any such arrangements.
(2) The court may, if it thinks fit, proceed without observing the requirements of subsection (1) if —
it appears that there are circumstances making it desirable that the interim judgment be made final or, as the case may be, that the judgment of judicial separation should be granted without delay; and
the court has obtained a satisfactory undertaking from either or both of the parties to bring the question of the arrangements for the child before the court within a specified time.
(3) In this section and section 124, “welfare”, in relation to a child, includes the custody and education of the child and financial provision for him.