(1) The compensation and expenses of special prosecutors appointed pursuant to section 13-1-128 or 16-5-209, C.R.S., or section 20-1-107 shall be paid as follows:
(a) When the special prosecutor is a full-time district attorney, assistant district attorney, or deputy district attorney, the county or counties in the judicial district for which the appointment is made shall pay only the ordinary and necessary expenses, including travel, of the special prosecutor, as the judge of the court, which has jurisdiction of the offense being prosecuted, may direct.
(b) In all other cases, the county or counties in the judicial district for which the appointment is made shall pay only the ordinary and necessary expenses, including travel, of the special prosecutor as directed by the judge in addition to a fee for the services of the special prosecutor, which fee shall be approved by the judge but which may not exceed the amount of salary payable to a retired judge sitting in that court or district pursuant to section 5 (3) of article VI of the state constitution.