It is not good for the passengers or the person doing it. For example, vulnerable people like people with asthma, lung problems, respiratory difficulties could be on the train and since it is an enclosed space with no open-able windows or air cracks, it can be very dangerous.