Where the contract of carriage is modified so that: - a transport operation which was to end outside the customs territory of the Community ends within it, - a transport operation which was to end within the customs territory of the Community ends outside it, the railway companies shall not perform the modified contract without the prior agreement of the office of departure.