27.1. For the purposes of sections 27, 51 and 52, a person eligible under the compensation program provided for in section 233 of the Act to reform the municipal territorial organization of the metropolitan regions of Montréal, Québec and the Outaouais (2000, chapter 56) or a similar compensation program established by an amalgamation order made under the Act respecting municipal territorial organization (chapter O-9) is deemed to cease to be a member of the council of a municipality only at the end of the period covered by the program.