read the full article
https://taxpage.com/articles-and-tips/transferring-foreign-pension-to-rrsp-a-canadian-tax-lawyer-analysis/
The Tax Rollover When Transferring Foreign-Pension Benefits to a Registered Retirement Savings Plan (RRSP): Paragraph 60(j) of Canada’s Income Tax Act
Paragraph 60(j) effectively allows a Canadian tax resident to cash out a foreign pension and transfer the proceeds to an RRSP on a tax-deferred basis. The taxpayer still reports the foreign pension as income, but, if the taxpayer satisfies the conditions of subparagraphs 60(j)(i), 60(j)(iii), and 60(j)(iv), the taxpayer may fully deduct the foreign pension by transferring it to a registered retirement savings plan.
Notably, the deduction under paragraph 60(j) doesn’t depend on a taxpayer’s RRSP contribution room. Nor does it affect the taxpayer’s deduction limit for RRSP contributions in the same tax year or in future tax years. So, the foreign-pension proceeds are essentially rolled into the registered retirement savings plan on a tax-neutral basis.