Every officer convicted of any crime defined in this chapter, in addition to the punishment prescribed, forfeits his office.