1274. Costs in the event of delay or default by landlord or tenant.

Where a landlord1 makes an application for possession2, and it is proved to the court that in relation to matters arising out of that application, including the giving up of possession of the house3 and premises4 or the payment of compensation, the landlord or the tenant5 has been guilty of any unreasonable delay or default, the court may:

  1.  

    (1)     by order revoke or vary, and direct repayment of sums paid under, any provision made by a previous order as to payment of the costs of proceedings taken in the court on or with reference to the application, or, where