12. The court may make an exception to the principle of open proceedings if, in its opinion, public order, in particular the preservation of the dignity of the persons involved or the protection of substantial and legitimate interests, requires that the hearing be held in camera, that access to a document or the disclosure or circulation of information or documents specified by the court be prohibited or restricted, or that the anonymity of the persons involved be protected.