California Supreme Court allows prosecutors who help make movies and books off cases to remain on the case