Rossa Fanning, for Facebook, made the analogy when opposing an application by a company once run by businessman Sean Quinn for orders removing a Facebook page with alleged defamatory posts and identifying who is behind them.
“The application against Facebook is just wrong in law,” said Mr Fanning.
“If somebody was putting up a film poster on a board, it would be like seeking an injunction against the wall.”
Quinn Industrial Holdings (QIH), and its chief executive, Liam McCaffrey, are seeking the orders against Facebook Ireland requiring the removal of the material put up by Concerned Irish Citizens, a group which says it supports lawful efforts to get the Quinn family back in control of company operations.
QIH and Mr McCaffrey were last Friday given permission to serve notice of its proceedings on Facebook and the matter returned to court yesterday.
Michael Binchy, for the plaintiffs, said there was still defamatory material on the Facebook site.
Mr Fanning said Mr Binchy knew full well who the people posting this information were and that it was part of a much broader dispute.
Facebook should not be drawn into it, he said.
This was essentially a prior restraint application for which there was EU and national law saying it was impermissible, he said.
There were billions of Facebook postings and there was no way his client could possibly screen them all.
Mr Justice Paul Gilligan adjourned the matter to today for a date for the hearing of the injunction application to be fixed.
He said a possible simple solution could be if Facebook was to tell the plaintiffs the identity of those posting the material.
The judge also commented that he was aware there were “serious legal issues in the background”.