I am not speaking for all muslims or generalising about them. My views of the man praying was offering an alternative and very real explanation as to why he might be doing so.
If you read properly I said that it could have been devotion OR it could have been to antagonise.
There are a subset of extremist muslims who deliberately set out to provoke by displaying acts of extreme religiosity which they hope will antagonise others and lead to a confrontation. They also have an agenda to push Islam to the fore and be very visible in the public space to assert Islam's dominance.
The average muslim is not doing this and despairs of this type of behaviour. Not specifically just the example being discussed but others such as wearing niqabs (some women do wear them simply to provoke, while others wear them from devotion or because they are forced to) HCPs refusing to examine the other sex, exemptions from bare below the elbow rules, refusing to remove veils in courts etc etc.
The truly devoted muslims will usually find a way to remove themselves or not put themselves in situations that are not compatible with their beliefs, or will compromise in the knowledge that Islam provides for flexibility e.g. pray later.
Having said all that, I don't take public transport much anymore. I am willing to accept that maybe I am being a cynic and perhaps praying on trains is fairly commonplace now by all types of muslims.