The union representing over 9,000 Canadian rail workers vowed on Friday to challenge the federal government's