If no charge is filed against any person in relation to property alleged to have been stolen or embezzled, the judge who examines the charge against the person accused of the crime shall order it to be delivered to the owner or his duly authorized agent on like proof and condition as in section 3942 of this title.