In addition to any other remedy provided by law any machine or other device the possession or control of which is penalized by the laws of this State prohibiting lotteries or gambling may be seized by any peace officer, and a notice of intention summarily to destroy such machine or device as provided in this section must be posted in a conspicuous place upon the premises in or upon which such machine or device was seized. Such machine or device shall be held by such officer for 30 days after such posting, and if no action is commenced to recover possession of such machine or device, within such time, the same shall be summarily destroyed by such officer, or if such machine or device shall be held by the court, in any such action, to be in violation of such laws, or any of them, the same shall be summarily destroyed by such officer immediately after the decision of the court has become final.
The superior court shall have jurisdiction of any such actions or proceedings commenced to recover the possession of such machine or device or any money seized in connection therewith.
Any and all money seized in or in connection with such machine or device shall, immediately after such machine or device has been so destroyed, be paid into the treasury of the city or county, as the case may be, where seized, said money to be deposited in the general fund.
Ca. Pen. Code § 335a