A bench of justices H L Dattu and C K Prasad allowed the plea of Press Council of India, which had challenged the order saying that the court cannot impose such a ban on media as it violates the freedom of speech.
The bench said the high court erred in passing such order as the ban on media was not sought and the prayer was only to hold an inquiry into the controversial incident.
"We are of the opinion that the high court should not have passed the order as the prayer before it was entirely different and it was not in (rpt not in) consonance with the prayer made by the petitioner," the bench said.
The court also took into account its recent Constitution bench judgment, which had said the press can only be directed to postpone the reporting for a certain period.
The Centre also said it was against the high court's order and it should be quashed. The high court had directed various central and state government authorities on April 10 "to ensure that there is no reporting/release of any news item by the print or electronic media on the movement of troops."
The high court's order was passed on a public interest litigation, which said a national daily and a news magazine had reported on movements of arrmy units from Agra to Delhi when Singh's age row controversy was at peak. The petitioner had said the reports were against national interest.
The PCI had approached the apex court saying the order was in violation of the fundamental right under Article 19(1) (a) of the Constitution, granted to the media and every citizen of the country.