I would say, first and foremost, that the protection is for Canadian citizens. Canada has a duty, for example, under the convention against torture, to not deport or extradite a single person to torture or to situations in which they would be faced with evidence obtained under torture. I believe that it should apply to non-citizens as well.
On February 8th, 2023. See this statement in context.