12.2. In addition to the mode of recovery provided in section 16, for the purposes of the legislative provisions respecting the sale of an immovable under the authority of a municipality for failure to pay taxes, the transfer duties shall be regarded as a municipal tax imposed on the immovable that is the subject of the transfer.