The order came during a hearing on the contempt plea filed by the state government against Gujjar leader Kirori Singh Bainsla and his associates.
The court had in 2008 passed guidelines to Gujjar leaders not to disrupt law and order and asked government to ensure its strict compliance but despite this the agitation led to unprecedented chaos.
Justice M C Sharma said, "The state government had miserably failed to see compliance of our order and the entire chaos was outcome of failure of state machinery.
"We, therefore, would like to seek explanation from the then chief secretary DC Samant to explain as to what prevented him from executing and complying court's orders."