All property or things taken on a warrant must be retained by the officer in his custody, subject to the order of the court to which he is required to return the proceedings before him, or of any other court in which the offense in respect to which the property or things taken is triable. Ca. Pen. Code § 1536 Amended by Stats. 1957, Ch. 1885.