| 
 | 
 
Order for return of deposit. 
 |  
 
54.— Where the court refuses to grant specific performance of a contract for the sale or other disposition of land, or in any action for the return of a deposit, the court may, where it is just and equitable to do so, order the repayment of the whole or any part of any deposit, with or without interest. 
 |