I work for a railroad and also own a Tesla. FSD doesn’t actually know what a train is at all. If you watch the visualization while in FSD you’ll see trains as a long string of semi trucks and it sees the crossing arms as flashing red stop lights (ie treat like stop sign).