The provisions of Sections 330.1 to 330.5, inclusive, of this code, with respect to owning, storing, keeping, possessing, or transporting any slot machine or device as therein defined, shall not apply to any slot machine or device as therein defined, located upon or being transported by any vessel regularly operated and engaged in interstate or foreign commerce, so long as such slot machine or device is located in a locked compartment of the vessel, is not accessible for use and is not used or operated within the territorial jurisdiction of this State.
Ca. Pen. Code § 330.6