A land mortgage securing a regulated agreement is enforceable (so far as provided in relation to the agreement) on an order of the court only.