The man didn't do anything wrong. BUT.
I thought back to when I was 11 and in fact the whole period of time when I was in my teens and my memories of this time with regard to being alone with unknown men are of being in awkward situations which I had to manage. Men making inappropriate comments, men standing too close and occasionally, men attempting something - there were four or five moments that would be classed assault and multiple dodgy comments and me feeling very, very uneasy. Of course I don't remember all the times that it was fine and nothing happened so I'm aware of that issue but the fact is it had a huge impact on me.
Even today if a man asked me for directions on a deserted street I'd take a step back, hold my bag close to me, answer him while carrying on walking - all of the above to remain safe.
The sad fact is that normal men do not know just how often this happens to young women and girls. In fact, when I moved to France for a year it happened to me virtually every time I left the house. It's not the fault of the normal men but it is a fact of life for women (or at least it was for me).
So no I think a sensible man would have been aware of her vulnerability and approached the problem in a different way. I tell my daughter not to sit in a railway carriage on her own and I'll tell my son the same but also to be aware that his physical strength and just the very gender of him will mean some people have reason to be anxious and he should be conscious of that.
Also YY to whoever said good for the DD for being aware of her sense of danger. 99% of this is under the radar, subliminal stuff, and we have to tune in to "that feeling". Whether we are right or wrong about that feeling we have to listen to it and not just give a man directions because we are a good girl and we don't want to be rude.