If the law of an organization of nations, a foreign nation or a state other than this state, or a public entity in a foreign nation or a state other than this state, is applicable and such law cannot be determined, the court may, as the ends of justice require, either:
(a) Apply the law of this state if the court can do so consistently with the Constitution of the United States and the Constitution of this state; or
(b) Dismiss the action without prejudice or, in the case of a reviewing court, remand the case to the trial court with directions to dismiss the action without prejudice.
(Enacted by Stats. 1965, Ch. 299.)