Where a proceeding in instituted in any Court in relation to any disputed between the master, owner or agent of a ship and seaman or apprentice, arising out of or incidental to their relation as such, or in instituted for the purpose of this section, the Court, if, having regard to all the circumstances of the case, thinks it just to do so, may ...