An Indian court has barred the former chairman of the U.N. climate panel from leaving India, where he faces sexual harassment charges.

The court also said R.K. Pachauri could not be arrested until after March 27, while he undergoes treatment for hypertension and stress. But it prohibited him from entering or contacting anyone at the New Delhi research and lobbying organization he heads.

Pachauri had chaired the Intergovernmental Panel on Climate Change from 2002 until this week, when he resigned after a 29-year-old woman accused him of sexually harassing her while they worked at his organization, The Energy Resources Institute, or TERI. He has also taken a leave of absence from TERI until the case is resolved.

Pachauri, 74, has denied the allegations and pledged to cooperate with the investigation.