If, in any case, the prosecuting attorney and his assistants are unable to act, or if in the opinion of the court it would be improper for him or his assistants to act, the court shall appoint some competent practicing attorney to act in that case. The court shall certify to the county commission the performance of that service when completed and recommend to the county commission a reasonable compensation for the attorney for his service, and the compensation, when allowed by the county commission, shall be paid out of the county treasury. No provision of this section shall be construed to prohibit the employment by any person of a practicing attorney to assist in the prosecution of any person or corporation charged with a crime.
The compensation to be paid to an assistant prosecuting attorney shall include compensation provided by law for any services he renders as attorney for any administrative board or officer of his county.