It's even spraying in front of the train car and then apparently rolling right over it without much trouble (although I note some white paint on the wheels).
I don't think anyone is expecting the paint to stick to the rolling surface of the rail for very long, but that (on a track with regular usage) gets polished by the passing trains, so it's reflective anyway...