An occupation order or non-molestation order may be varied or discharged by the court on an application by—
In the case of a non-molestation order made by virtue of section 42(2)(b), the order may be varied or discharged by the court even though no such application has been made.
If B's home rights are, under section 31, are a charge on the estate or interest of A or of trustees for A, an order under section 33 against A may also be varied or discharged by the court on an application by any person deriving title under A or under the trustees and affected by the charge.
If, by virtue of section 47(3), a power of arrest has been attached to certain provisions of an occupation order . . . , the court may vary or discharge the order under subsection (1) in so far as it confers a power of arrest (whether or not any application has been made to vary or discharge any other provision of the order).