The county or city and county of residence of a person searched for or rescued by the sheriff under the authority of Section 26614 shall pay to the county or city and county conducting such search or rescue, in any case where the expenses thereof exceed one hundred dollars ($100), all of the reasonable expenses in excess of one hundred dollars ($100) of such search or rescue within 30 days after the submission of a claim therefor by the county or city and county conducting the search or rescue and the county or city and county conducting the search or rescue shall bear the remaining expense.