I would advise you not to wait for the last moment and talk to the railway authorities on the date of journey.
Instead you can book the ticket between ALLP and ERS now in the same train. Seats are available for all classes on the day you are travelling and the booking is available between the two stations for this train.
Happy journey :-)