On the trial of a person charged with any offence of which the fact that some person was at some particular time a public officer or public service officer or employee is an element, the averment in the indictment or complaint that any person therein mentioned was a public officer or public service officer or employee at any time therein stated is sufficient evidence of the fact, until the contrary is shown.