When expenses are incurred by the sheriff in transporting a prisoner from outside the territorial limits of this state, by order of the court, Berrien County shall reimburse the sheriff for his actual expenses incurred therein.