In the case of an application for an enforcement order under—
the court shall dismiss the application if, but . . . only if, it considers it just to do so having regard to—
If it appears to the court just to do so, it may in an enforcement order reduce or discharge any sum payable by the debtor or hirer, or any surety, so as to compensate him for prejudice suffered as a result of the contravention in question.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .