The RTP are also qualified to investigate railway accidents.
From the information provided, it seems the train driver failed to stop as required and instead went into a section where the points (switch) had not yet been made in his favour.
To get the loco back on the rails will require an all-terrain crane with a very heavy-lift capacity which may have to be brought in from far away.