law: Indian Ports Act, 1908
  59. Magistrate to determine the amount to be levied in
  
  case of dispute 
  If any dispute arises concerning the amount leviable by any
  
  distress or arrest under this Act or the costs payable under the last foregoing
  
  section, the person making the distress or using the arrest may detain the
  
  goods distrained or arrested, or the proceeds of the sale thereof, until the
  
  amount to be levied has been determined by a Magistrate, who, upon application
  
  made to him for that purpose, may determine the amount, and award such costs to
  
  be paid by either of the parties to the other of them as he thinks reasonable
  
  and payment of such costs, if not paid on demand, shall be enforced as if they
  
  were a fine.