851.22.40. Notwithstanding any other provision of this Act, where a dividend is paid or is deemed to be paid by a Canadian affiliate of an entrant bank to the entrant bank or to a person that is affiliated with the entrant bank and that is resident in the country in which the entrant bank is resident, and the Canadian affiliate and the entrant bank make the election under subsection 9 of section 142.7 of the Income Tax Act (Revised Statutes of Canada, 1985, chapter 1, 5th Supplement) to have subsection 10 of that section 142.7 apply in respect of the dividend, the dividend is deemed, except for the purposes of sections 739 and 741 to 745, not to be a taxable dividend.