Who described it as a "dangerous goods train"? If it was empty tanks as mentioned up-thread, it isn't dangerous (at least in terms of its cargo).
Railway tank wagons for the conveyance of dangerous goods have three states - charged (i.e. loaded with product), discharged (i.e. not loaded with product) and purged. We never say they’re ‘empty’.
As per the other replies even when a tank is discharged, significant and dangerous levels of vapour may remain within it. A tank used for conveying dangerous goods is only considered safe if it has been purged, which typically only happens immediate before maintenance or storage. Purging involves cleaning the inside of the tank and cycles of filling and empting it with inert gas until no product or vapour remains. Unless a tank has been issued with a purging certificate then the rail industry will continue to treat it as being discharged but potentially dangerous.
Any problem with a train conveying dangerous goods is classed as a dangerous goods irregularity (for minor stuff like paperwork discrepancies or weeping seals) or a dangerous goods incident. The rail industry still takes dangerous goods very seriously.