A man’s eagerness to take a selfie in the newly launched Vande Bharat Express train in Rajahmundry, Andhra Pradesh didn’t end well as he was locked in, thanks to a technology which automatically locks the doors of a train when it starts moving. A video of the man pleading with railway officials to open the doors has gone viral.

“Who goes inside the train to take pictures?,” the ticket-collector told the man. ‘Do you have any sense? You can’t open the door now. It will stop next in Vijayawada”, according to News9Live. “Take pictures from outside or from another angle. Now you have to sit six hours in the train unnecessarily,” another railway staff member added. According to a report by The Times of India, the man also had to pay a fine for travelling without a ticket.