Regulation (EC) No 1371/2007 of the European Parliament and of the Council of 23 October 2007 on rail passengers’ rights and obligations
The carrier shall not be liable to the passenger for loss or damage arising from the fact that the passenger does not conform to the formalities required by customs or other administrative authorities.