A town treasurer convicted under section 367.17 for refusing or neglecting to comply with section 367.16 shall forfeit office as treasurer.