When a misdemeanor case is transferred out of the county of origin to another county where the misdemeanor is disposed of, the county where the case originated shall pay the costs.