23. Prisoners who have been appointed as officers of prisons shall be deemed to be public servants within the meaning of the 9[Penal Code].