I seem to recall the Canadian govt reportedly placed / places ? armed (Canadian) law enforcement officers on certain Canadian flagged flights that fly thru the U.S. Those were covered, at least mostly, by agreements on LE operations.