(1) Where a vessel or other property is detained in connection with a claim which appears to the High Court to be founded on a liability to which a limit set by Section 541 or 542 applies, or security is given to prevent or obtain release from such detention the High Court may, if the guarantee was given in a port which, in relation to the claim...