By Jyotsna Singh
BBC News, Delhi
The high court in the Indian capital, Delhi, has ordered that a schoolteacher who was sacked after a fake television "sting" operation must be reinstated.
There were violent protests in Delhi after the TV report
The teacher, Uma Khurana, was accused of forcing students into prostitution.
There were riots in the city and Ms Khurana was beaten up by parents after a local channel broadcast the report. She spent 10 days in prison.
A police investigation later revealed the sting had been faked and the teacher falsely accused.
The case follows a number of other so-called stings in which people allege they have been framed and has led to renewed calls for India's media to be regulated.
The undercover journalist, Prakash Singh, who made the report has been arrested.
Police have also questioned staff at the Live India news channel which broadcast the secretly-filmed tape on 30 August.
Hours after the broadcast, a mob attacked the school at which Ms Khurana worked, dragged her out and assaulted her.
Ms Khurana was taken into custody while the authorities ordered her suspension, solely on the basis of the "sting".
But police now say they have not been able to find any evidence against Ms Khurana. She was released on bail on Monday after spending 10 days in jail.
Announcing her bail, the judge said she had been "more of a victim than an offender".
Meanwhile, the high court has instructed police to take action against those who assaulted Ms Khurana.
Ms Khurana says she is considering filing for defamation against those who framed her.
"They disgraced me. I will first settle down with my children and then consult the lawyers to file a defamation case against them," she told the Hindustan Times newspaper.
The Live India "sting" has been described as a "stink operation" by some newspapers and has raised concerns about the credibility of such media operations.
Experts blame it on a highly competitive media environment where several 24-hour news channels are fighting for revenue and viewers' attention.
There have been a series of high-profile media stings in India to expose alleged corruption.
In 2005, 10 MPs were thrown out of the lower house and one from the upper house after they were secretly taped accepting bribes in return for asking questions in parliament.
Some of the MPs recorded in the videotape said they had been framed. It was the first time since 1951 that any Indian MP had been expelled for corruption.