In any case where the court has power to make a forced marriage protection order, the court may accept an undertaking from the respondent instead of making the order.
But a court may not accept an undertaking under subsection (1) if it appears to the court—
An undertaking given to the court under subsection (1) is enforceable as if the court had made the order in terms corresponding to those of the undertaking.
This section is without prejudice to the powers of the court apart from this section.