That was not a wrong train, right train was taken by the harassed girl. No passenger has right to ban any other bona fide passenger to her/his convenience. This is a clear case of "dadigiri" and the "dabangins" need to be penalised. CCTV cameras could come handy to identify such culprits.
To protect females from the males (the roudy ones), IRlys have very rightly reserved separate coaches. But if some of females (under protection) gets roudy, they need no protection & should be treated as the roudy males are treated.
The best...
more... solution is to identify them and give strict warning. Repeated offenders may be debarred from getting female pass i.e. should not be permitted to board the coaches reserved for females.