The incident occurred last Saturday on a train travelling from Gothenburg to Örebro in central Sweden, the Göteborgs-Posten (GP) newspaper reported.
According to police, the man smoked marijuana somewhere between Herrljunga and Skövde, after which he began behaving erratically.
“He got high during the trip, he threatened and assaulted a conductor and he assaulted a woman,” police spokesperson Lars Johansson told the paper.
After the initial assault, the man then took off all his clothes and began roaming through the train asking people if they wanted to have sex with him.
“He asked if we wanted to have sex, but I politely declined,” one passenger told the Aftonbladet newspaper.
Eventually, the man tried to force a woman to perform oral sex on him.
According to Johansson, the man also threatened to kill everyone who left the train.
When the train stopped in Skövde, most of the passengers nevertheless evacuated. When police arrived they found the 30-year-old alone on the train talking to a woman he had trapped in the corner.
When police attempted to apprehend the men, he resisted, forcing them to use pepper spray.
On Tuesday, he was ordered held on remand by the Skaraborg District Court on suspicion of assault, attempted rape, and threatening behaviour.
The 30-year-old has submitted a blood test to confirm whether or not he was under the influence of drugs at the time of the incident.
“But it’s quite likely he was under the influence of something. This sort of behaviour isn’t normal,” a prosecutor told local news website Skövdenyheter.se.
Police have interviewed several witnesses in the case and prosecutors are expected to file charges no later than December 6th, according to GP.