Justin Trudeau endorsed the Keystone XL pipeline, but his top adviser was one of the point men against another pipeline.