The owner or master of a vessel moving under compulsory pilotage in a port is liable for any loss or damage caused by the vessel, or by a fault in the conduct or navigation of the vessel, in the same manner as the owner or master would be liable if pilotage were not compulsory.