Section 28G. An information or petition in equity under the provisions of section twenty-eight C shall not be open to objection on the ground that a mere judgment, order or decree is sought thereby and that no relief is or could be claimed thereunder on the issue of the defendant's knowledge as to the obscenity.