Yeah, that's because the various national railway systems are poorly suited for international traffic. There are various EU efforts to improve the situation, but the governments try to protect their national monopolies etc. The end result being that in most cases it's easier to ship international freight by truck.