In criminal cases only, while the jury is kept together, either during the progress of the trial or after their retirement for deliberation, the court may direct the sheriff or marshal to provide the jury with suitable and sufficient food and lodging, or other reasonable necessities. The expenses incurred under this section shall be charged against the Trial Court Operations Fund of the county in which the court is held. All those expenses shall be paid on the order of the court.
Ca. Civ. Proc. Code § 217