(3)When a judgement-debtor purchases himself, or through another person the tenancy so sold, the court may, if it thinks fit, on the application of the decree-holder or any other person interested in the sale, by order set aside the sale and the costs of the application and order, and any deficiency of price which may happen on the resale, and all expenses attending it, shall be paid by the judgement debtor.