Freight wagons that blocked port were 'susceptible to derailment'