itself, and it would be irrational to expand gratuitously the judicial tolerance of inconsistent verdicts to permit different juries in successive trials to reach contradictory results. Allowing a second jury to reconsider the very issue upon which the defendant has prevailed serves no valuable function. To the contrary, it implicates concerns about the injustice of exposing a defendant to repeated risks of conviction for the same conduct, and to the ordeal of multiple trials, that lie at the heart of the double jeopardy clause.” (Fn. omitted.)
Thus, it was clearly erroneous to permit the prosecution to retry the case on the theory that appellant used a firearm, since the previous jury had decided that issue and acquitted him of that charge. “ [Wjhen the prosecution presents its case to the jury on alternate theories, some of which are legally correct and others legally incorrect, and the reviewing court cannot determine from the record on which theory the ensuing general verdict of guilt rested, the conviction cannot stand.” (People v. Green (1980) 27 Cal.3d 1, 69 [164 Cal.Rptr. 1, 609 P.2d 468].)
Appellant also contends the trial court erred in refusing to instruct the jury on accessory after the fact as a lesser related offense to the charge of murder. In People v. Geiger (1984) 35 Cal.3d 510, 531-532 [199 Cal.Rptr. 45, 674 P.2d 1303], the Supreme Court set forth three prerequisites to instructions on related, but not necessarily included, offenses. First, there must be “some basis, other than an unexplainable rejection of prosecution evidence, on which the jury could find the offense to be less than that charged.” (Id., at p. 531.) Second, “the offense must be one closely related to that charged and shown by the evidence.” (Ibid.) Third, “the instructions must be justified by the defendant’s reliance on a theory of defense that would be consistent with a conviction for the related offense. Thus, the instruction need not be given if the defense theory and evidence reflect a complete denial of culpability as when the defense is alibi, or the only issue is identity, unless the defendant argues that the evidence at most shows guilt only of the related offense.” (Id., at pp. 531-532.) Also, “‘[t]he court should instruct the jury on every theory of the case, but only to the extent each is supported by substantial evidence.’ [Citation.]” (People v. Flannel (1979) 25 Cal.3d 668, 685 [160 Cal.Rptr. 84, 603 P.2d 1].)
Based on the facts in this case appellant was entitled to an accessory instruction. There was no admission, confession or other direct evidence of appellant’s actual participation in the homicides. The case against him was strictly circumstantial. Appellant’s theory was that, at best, the prosecution had established his guilt as an accessory after the fact under Penal Code section 32. In support thereof he cites the testimony of Homor Mathews that the shots were fired at 10:45 p.m., at which time Betty Jean McGlothlin testified appellant was with her. He also points to evidence that he did not