The farmers had gone on a rampage and vandalized a market yard on April 28, frustrated that they could not get remunerative prices for the chillies they had brought to the market to sell.
Following the incident, eight people were arrested and a local Telugu Desam Party lawmaker, Sandra Venkata Veeraiah, was also named in the police complaint, but was not arrested.
There are four cases against the farmers and they were brought to the court for a hearing in two of the cases. The court granted them bail, following which they were released.
However, that they were brought in to court handcuffed like they could be a danger to public safety, left other farmers and also the public shocked and angry.
Meanwhile, an inquiry has been ordered by the police into the "breaching" of the handcuff norms.
"Handcuffing was not necessary. There are clear guidelines and if the handcuffing of the accused is required, necessary magisterial permission has to be taken," Inspector General of Police (North Zone) Y Nagi Reddy said.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.