The owner or master of a ship is not responsible for the negligence of a pilot whom he is bound by law to employ; but if he is allowed an option between pilots, some of whom are competent, or is required only to pay compensation to a pilot, whether he employs him or not, he is so responsible to third persons.

SOURCE: CC § 2384.