(a) When the venue in a case is changed, the whole costs of the case, jail fees of the person to be tried, and expenses of the trial in the county to which it was transferred shall be paid by the county from which the case was removed.(b) The entire court costs, including the costs of the sheriff, bailiff, clerks, and jurors, shall also be paid by the county from which the case was removed and shall have the same priority as jail fees. The county in which the case is tried shall be reimbursed after paying the court costs incurred.