I traveled by sleeper train in india, around 2010. They had beds, but every time I woke up, there were 3-4 Indian dudes that had come into our cabin and climbed on my bed to get some shut eye.
It wasn't threatening or anything, just a wild experience and insightful lesson in cultural differences
It's less invasive, but still crazier than it sounds.
Indian railways changed the base sleeper cars into free-for-alls by changing sleeper cabin classifications and stopping verifying tickets. Now you have people buying the cheapest tickets (unreserved general) and swarming the "reserved" sleeper cabin berths. [0] They're just over-cramming the trains.
It wasn't threatening or anything, just a wild experience and insightful lesson in cultural differences