It makes sense because it is what happens!
People in shelters, and/or on head phones not hearing the train approaching, even just being hard to spot at night even when correctly signalling to the driver can all cause issues. As you say the train should be ready to stop but if the front end has...