The court and any person, in exercising functions under or in consequence of section 22, shall have regard to the following general principles—
that the institution of marriage is to be supported;
that the parties to a marriage which may have broken down are to be encouraged to take all practicable steps, whether by marriage counselling or otherwise, to save the marriage;
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .