172(1)Upon making a declaration under section 170 or section 171, the court may make such order respecting the payment of the insurance money and respecting costs as it deems just and, subject to section 174, a declaration or direction or order made under this subsection is binding upon the applicant and upon all persons to whom notice of the application has been given.