Justices P R Sivakumar and V S Ravi said the order had been issued without properly analysing the case records. There were differences in the translation of documents from English to Tamil, they said.
"The detention order ought to be quashed on the sole ground that even the main case (Pottu Suresh murder) and the adverse case was registered in 2013," they said.
Pandi's plea to engage a lawyer for representing to the advisory committee had been rejected, the judges said.
Suresh was hacked to death here by a gang on January 31 2013. Seventeen persons, including 'Attack' Pandi, the main accused, were arrested.
The case was transferred to CB-CID on the orders of the DGP.
