It said that where there was a clash between the public interest in withholding a document and the interests of justice in it being seen , the court could ask for documents , examine them itself and order their release if necessary .