A police officer who is charged with executing a warrant of apprehension or commitment issued against an offender under section 47 or 49 must not execute that warrant if the person (a) pays or tenders to the police officer the sum mentioned in the warrant and the amount of the prescribed costs and charges of the warrant; or(b) produces to the police officer the receipt of a clerk of petty sessions for that sum and that amount.