The court may make such order as it thinks just as to the costs and expenses of and attendant upon any summons or proceeding under section 148, 149 or 150, and all costs and expenses to be paid by the registrar-general under the order shall be paid by the Territory.