They don't necessarily ban you from trains outright but ban you from the comfortable trains (the article mentions high-speed trains).
A lot of these punishments seem targeted at the middle class and business people by forcing them to go down a peg or two if they don't abide by the rules. It's making them lose face, which is something very important in China.