Every member of the Police Department shall appear as a witness whenever this is necessary in a prosecution for a violation of a Village ordinance or of any State or Federal law. But no such member shall receive any witness fees for service as a witness in any action or suit in which the Village is a party; all fees due for such services shall, if paid, be turned over to the Village Treasurer for deposit in the Village treasury. (1979 Code § 10-1-6)