An airline captain was accidentally locked out of his cockpit after going to the toilet, forcing his co-pilot to make an emergency landing.
Air India said the cockpit door jammed during a flight over central India and all efforts to open it, even from inside, failed.
The co-pilot landed the plane at the nearest airport.
The door was fixed by ground maintenance staff and the plane resumed its flight. The airline said passengers were not in any danger.