A train crew member shows "sheer courage and bravery in seeking to save lives", a court hears.