The granting of a new trial places the parties in the same position as if no trial had been had. All the testimony must be produced anew, and the former verdict or finding cannot be used or referred to, either in evidence or in argument, or be pleaded in bar of any conviction which might have been had under the accusatory pleading.
Ca. Pen. Code § 1180