When the defendant is acquitted on the merits, the defendant is considered acquitted of the offense charged in the accusatory instrument, notwithstanding a defect in form or substance in the accusatory instrument on which the defendant is acquitted.
ORS 135.465