Truly an odd looking lashup. I assume the trailing loco was just being dragged along, not contributing to the power. I wouldn’t think that the systems would be compatible with each other.
Recall my visits to Dorval back in the 1970s and '80s, at a time when CN was operating their turbo train from YUL to YYZ. CP was also operating "The Canadian" as well.