If a collision is occasioned by failure to observe any rule of Article 1 of this chapter, the owner of the vessel by which the rule is infringed can not recover compensation for damages sustained by the vessel unless the circumstances of the case made a departure from the rule necessary.
Ca. Harb. and Nav. Code § 290