Where a question arises under this Division in relation to a document, the court may order that the document be produced to it and may inspect the document for the purpose of determining the question.