www.indianrail.gov.in/reservation_Rules.html
Read the line for When berths are reserved for passengers, the intention is to provide sleeping accommodation between 9 PM to 6 AM. During 6 AM to 9 PM, the passengers concerned, if required make room for other passengers in compartment up to its carrying capacity.