All rights and obligations of passengers and railway companies are laid down in a European law (Regulation 1371/2007). The railways can always do more than what is required, but never something which is worse for you.

Regulation 1371/2007