A statement from Canadian Pacific Railway said: "There were no injuries, no dangerous goods and no threat to public safety."