The jurisdiction of a criminal action against a principal in the commission of a public offense, when such principal is not present at the commission of the offense is in the same court it would be under this code if he were so present and aiding and abetting therein.
Ca. Pen. Code § 792