When a public offense is committed on the boundary of two or more jurisdictional territories, or within 500 yards thereof, the jurisdiction of such offense is in any competent court within either jurisdictional territory.
(Amended by Stats. 1951, Ch. 1674.)