"(1) The general rule is that a court will not order the production of a document, although relevant and otherwise admissible, if it would be injurious to the public interest to disclose it: Sankey v Whitlam [1978] HCA 43; (1978) 142 CLR 1 at 38. (2) However, the court recognises that there are two aspects to the public interest which may conflict. They were described by Lord Reid in Conway v Rimmer [1968] UKHL 2; [1968] AC 910 at 940 in these terms: 'There is the public interest that harm shall not be done to the nation or the public service by disclosure of certain documents, and there is the public interest that the administration of justice shall not be frustrated by the withholding of documents which must be produced if justice is to be done.' Those observations were adopted by Gibbs ACJ in Sankey v Whitlam at 38. Stephen J expressed the competition between these two aspects of the public interest in these terms in Sankey v Whitlam at 48-49: 'These principles, stated in their broadest form, each reflect different aspects of the public weal. Because disclosure to the world at large of some information concerning sensitive areas of government and administration may prejudice the national interest there exists a public interest in preventing the curial process from being made the means of any such disclosure. At the same time the proper administration of justice, of prime importance in the national interest, requires that evidence necessary if justice is to be done should be freely available to those who litigate in our courts.' (3) It is the duty of the court, not the privilege of the executive, to determine whether a document will be produced or may be withheld: Sankey v Whitlam at 38, 58-59, 95-96. As Stephen J said in Sankey v Whitlam at 58, a claim to Crown privilege has no automatic operation; it always remains a function of the court to determine that claim. (4) The court determines whether a document should be produced or withheld by deciding whether the public interest which requires that the document should not be produced outweighs the public interest that a court in performing its functions should not be denied access to relevant evidence: Sankey v Whitlam at 38-39. In Commonwealth v Northern Land Council at 616 the court approved the following observations of Gibbs ACJ in Sankey v Whitlam at 43. 'I consider that although there is a class of documents whose members are entitled to protection from disclosure irrespective of their contents, the protection is not absolute, and it does not endure for ever. The fundamental and governing principle is that documents in the class may be withheld from production only when this is necessary in the public interest. In a particular case the court must balance the general desirability that documents of that kind should not be disclosed against the need to produce them in the interest of justice. The court will of course examine the question with especial care, giving full weight to the reasons for preserving the secrecy of documents of this class, but it will not treat all such documents as entitled to the same measure of protection - the extent of protection required will depend to some extent on the general subject matter with which the documents are concerned. If a strong case has been made out for the production of the documents, and the court concludes that their disclosure would not really be detrimental to the public interest, an order for production will be made.' See also Sankey v Whitlam per Stephen J at 63 - 64 and per Mason J at 98 - 99. (5) When carrying out this balancing task, the court will give weight to the Minister's opinion that the documents should not be produced but will form its own opinion whether the public interest will be the better served by production or non-production: Sankey v Whitlam at 44-45, 96. (6) Those who urge privilege on the ground of public interest immunity for classes of documents, regardless of particular contents, carry a heavy burden: Sankey v Whitlam per Stephen J at 62; see also Lord Reid in Rogers v Home Secretary [1973] AC 388 at 400. Speaking generally, a claim of public interest immunity for a class of documents will be upheld only if it is really necessary in the public interest or for the proper functioning of the public service to withhold the documents from production: Sankey v Whitlam at 39. (7) ... [T]here can be no single rule of thumb by which to determine whether a document should be produced for inspection ... The fundamental principle is that documents may be withheld from production only if, and to the extent that, the public interest renders it necessary ... (8) It is a corollary of the general rule stated in proposition (1) that a court may intervene and prevent disclosure of a document whose production would be contrary to the public interest even if no claim is made by a Minister or other high official that its production should be withheld. The court has a duty to prevent disclosure without the intervention of any Minister if possible serious injury to the national interest is readily apparent: Sankey v Whitlam at 44, 58-59. However, it would be exceptional for the court to intervene where the Minister had considered the question and decided that no objection should be taken: Sankey v Whitlam at 44-45. (9) It is now beyond question that the court has power to inspect the document or documents privately: Sankey v Whitlam at 46. There is, however, a question whether the court should look at the documents for assistance in the balancing exercise, that is to say, when weighing the two conflicting aspects of the public interest. In some cases, the court might be able to determine that the public interest requires that the documents be withheld from production without inspection of the documents: see Commonwealth v Northern Land Council ... Only in cases where the ministerial affidavit demonstrates with sufficient particularity the nature and the significance of the documents both in terms of any need to preserve their confidentiality on the one hand and for the actual litigation on the other is it likely that it will be possible to reach such a conclusion: cf Woodhouse P in Fletcher Timber Ltd v Attorney-General at 295. In almost all other cases, an inspection will be necessary. There is a question whether the applicant for production of the document must satisfy some threshold test before the court inspects the documents. Plainly, the documents must be relevant. The question is whether any further or more stringent test is necessary. That question was examined by Gibbs CJ in Alister v The Queen [1984] HCA 85; (1984) 154 CLR 404, by Cox J in Legal Services Commission v Trotter at 84-85, and by Toohey J in the dissenting judgment in Commonwealth Northern Land Council at 632-363. Reference should also be made to Conway v Rimmer, Burmah Oil Co Ltd v Bank of England; Air Canada v Secretary of State for Trade; Fletcher Timber Ltd v Attorney-General; and Middleton v State of Wetern Australia. As Toohey J pointed out in Commonwealth v Northern Land Council at 634-635, the process of discovery (in this court, the list of documents) demonstrates the existence and relevance of the documents to the issues in the action. The application for production for inspection is a usual concomitant of the process of discovery. It would seem, therefore, that where there is a claim for privilege on the ground of public interest immunity, the court should without more inspect the documents for the purpose of weighing the competing public interests ... (10) Once a court has decided ... that on balance the document should probably be produced, it will sometimes be desirable, or indeed essential, to examine the document before making an order for production: Sankey v Whitlam at 46 approving Conway v Rimmer ... In addition, it seems prudent to inspect, first, to ascertain whether the relevance of any document is so peripheral that it should not be disclosed and, secondly, to determine whether, despite the fact that production should be ordered, it is necessary to mask part of the document: see para (12) below. (11) If inspection of documents is necessary, it ought to be carried out by the court and not by any other person before ordering production for inspection ... (12) In some cases inspection may indicate that it is appropriate to order disclosure but that part of the document should be masked so as not to disclose something which the public interest requires should not be published. The practice was approved in Conway v Rimmer by Lord Reid at 943-944, 946-950 and by Lord Pearce at 988 and in Sankey v Whitlam by Gibbs ACJ at 48 and by Aickin J at 109-110."