31.0.4.Sections 31.0.1 to 31.0.3 also apply to a person whose term ends, in accordance with section 317 of the Act respecting elections and referendums in municipalities (chapter E-2.2), because of the person’s failure to attend council sittings. For the purposes of those sections, the person is deemed to be a resigning person and, for the purposes of those provisions, the day on which the person’s term ends is deemed to be the day of the person’s resignation.