Driving Test Canada Test 2 - When should a train not be given a right-of-way at the railway crossing?

When should a train not be given a right-of-way at the railway crossing?