In my view, it is immaterial where the incident is taking place as long as it is travel to and from Canada. Air travel does not have jurisdictional borders in the usual sense. A flight starts in Canada and ends somewhere else. The fact is that these are carriers that are licensed to operate to and from Canada, and as a condition of their licences, they have to comply with Canadian law, including Canadian human rights legislation. It is essentially the airline's responsibility to ensure that its staff members and subcontractors—whoever it is entrusting to handle passengers—are compliant with the Canadian law that airlines are required to comply with.
On February 15th, 2024. See this statement in context.