It is generally not appropriate to have sex on a train because of the lack of privacy, possible violation of laws and regulations, and the discomfort it may cause to other passengers. It is recommended to choose a more private place to have sex.