California Code
CHAPTER 4 - Alternative Obligations
Section 1451.

1451. If one of the alternative acts required by an obligation is such as the law will not enforce, or becomes unlawful, or impossible of performance, the obligation is to be interpreted as though the other stood alone.

(Enacted 1872.)