As a former deputy minister of transport, I can say that all modes of transportation must be safe, and they are. All measures must be taken to ensure that they are.
That said, let's be honest, a pipeline is much more efficient. It doesn't emit greenhouse gases and it doesn't clog up traffic. And it doesn't cause delays for other consumer goods transported by train. Farmers use the train to transport their exports, and other sectors also use the train.
Automobiles or metal cannot be transported by pipeline, but gas and oil can. This is very efficient. Logic dictates that the oil pipeline is the safest, but above all the most efficient way.