i. overview [1] the importance of the principle of open court proceedings is no longer a matter of controversy today. it will readily be agreed that, as one early author elegantly stated, justice is [translation] “a work of light and not of darkness”: j. frain du tremblay, essais sur l’idée du parfait magistrat où l’on fait voir une partie des obligations des juges (1701), at pp. 139-40. this is not in question here. but however important a principle may be, it is not without limits. this appeal calls upon us to clarify the limits of the openness of court proceedings. what must be determined, in essence, is how far the aspiration for transparency in the judicial process should lead and at what point secrecy can prevail. [2] in quebec, the code of civil procedure, cqlr, c. c-25.01 (“ccp”), gives members of the public the right to have access to court records: art. 11 ccp1. no prior authorization is required: anyone can examine the content of such records. the code also contains a provision dealing with the retrieval of exhibits filed in a court record: art. 108 ccp. in the course of a proceeding, the parties are authorized to retrieve their exhibits if all of them consent; once the proceeding has ended, they are obliged to do so, otherwise the exhibits may be destroyed by the court clerk after one year. the question at the centre of this appeal is whether art. 11 ccp allows members of the public to consult exhibits that have been retrieved by the parties in accordance with art. 108 ccp. in my view, the right to have access to court records set out in art. 11 ccp does not extend beyond what is in these records at the time they are consulted this means that once the parties retrieve their exhibits at the end of a 1 the relevant statutory provisions are reproduced in an appendix. proceeding, members of the public will still be able to consult the record but will no longer have access to the exhibits that have been removed from it. ii background [3] on october 6, 2016, the respondent centre intégré universitaire de santé et de services sociaux de l’ouest-de-l’île-de-montréal (“ciusss”) instituted court proceedings against one of its former managers, the respondent magdi kamel the originating application alleged misappropriation of funds in the amount of $410,266 and sought the repayment of that sum as well as $100,000 in damages it was accompanied by an application for a norwich order to obtain the identity of the holder of the four bank accounts to which that sum had allegedly been diverted between april 1, 2009 and march 31, 2015. the ciusss filed four exhibits in support of its applications, including an expert forensic accounting report produced by pwc on october 7, 2016, the superior court made the norwich order and ordered that the entire record be sealed. [4] seizures before judgment were carried out at mr. kamel’s residences on october 17 and november 22, 2016. the journal de montréal, a newspaper published by the appellant, mediaqmi, devoted two articles to the seizures on october 31 and december 13, 2016 wishing to find out the details of the court proceedings, mediaqmi filed its [translation] “motion to unseal” on march 29, 2017 in order to have access to the court record and the exhibits that might be in it. in that motion based on art. 11 ccp and s 23 of the charter of human rights and freedoms, cqlr, c. c-12 (“quebec charter”), mediaqmi sought only a single conclusion: [translation] terminate any order whose purpose is to restrict the access of the public and the applicant to the court record for file 500-17-095861-160. [5] the hearing of the motion, scheduled for april 5, 2017, was postponed to april 25, 2017. in the meantime, the ciusss discontinued its originating application. it filed a notice of discontinuance on april 19, 2017 and, over the next few days, tried to retrieve the four exhibits filed in support of its application. however, the staff of the court office could not find the record. [6] on april 21, 2017, mr. kamel applied to the superior court for authorization to withdraw the originating application from the court record or, in the alternative, for an order preventing the public from having access to it. the ciusss did not oppose mr. kamel’s application, but mediaqmi indicated its opposition on april 24, 2017. [7] on april 25, 2017, gagnon j heard mediaqmi’s motion in camera. at the hearing, counsel for the ciusss made an oral request to retrieve the exhibits filed in the court record, emphasizing that the expert forensic accounting report produced by pwc was private. mediaqmi opposed that request to retrieve the exhibits. gagnon j. took the case under advisement after extending the sealing order until his judgment was rendered. no other conservatory measure was sought by any of the parties. iii. judicial history a quebec superior court, 2017 qccs 4691 (gagnon j.) [8] gagnon j rendered his decision on july 20, 2017 after noting that mediaqmi was neither a party to the litigation nor, strictly speaking, an intervenor, he decided the motion to unseal on the basis of the test set out in dagenais v. canadian broadcasting corp., [1994] 3 scr 835, and r v. mentuck, 2001 scc 76, [2001] 3 scr 442 (“dagenais/mentuck test”). finding that the evidence was insufficient to depart from the principle of open court proceedings, he observed that the mere desire to avoid embarrassment for mr. kamel and negative publicity for the ciusss did not justify keeping the record confidential he therefore ordered that the record be unsealed. [9] with regard to the oral request to retrieve the exhibits, gagnon j stated that the rights of journalists and the media do not override the application of the ordinary rules of the code of civil procedure he added that the efficiency of civil procedure is based in part on out-of-court settlements and discontinuances. as soon as a proceeding ends, he wrote, the parties have complete freedom to retrieve all exhibits from the record and to shield them from public scrutiny; indeed, art. 108 ccp. requires them to do so. because the proceeding in this case had been terminated by a discontinuance, gagnon j authorized the ciusss to remove its exhibits from the court record counsel for the ciusss retrieved them the day after the judgment was rendered, on july 21, 2017 after reading mediaqmi’s notice of appeal, he sent its counsel an email written [translation] “[w]ithout prejudice” in which he confirmed, “without any admission, that we are keeping a copy of the exhibits . . . until the appeal is decided or settled”: ar, at p 82. b quebec court of appeal, 2019 qcca 814 (marcotte and schrager jj.a and samson j (ad hoc)) [10] the three quebec court of appeal judges wrote separate reasons to dispose of mediaqmi’s appeal from the conclusion relating to the retrieval of exhibits. [11] citing lac d’amiante du québec ltée v 2858-0702 québec inc., 2001 scc 51, [2001] 2 scr 743, samson j noted that quebec courts may not create positive rules of civil procedure, much less rules that would be contrary to the code of civil procedure in his view, mediaqmi’s motion was ancillary to the litigation between mr. kamel and the ciusss by terminating the proceeding, the discontinuance had also resulted in a loss of jurisdiction over that ancillary motion. since the parties controlled the course of their case, the ciusss could retrieve its exhibits as soon as the discontinuance was filed. the dagenais/mentuck test did not apply, because that test presupposes a discretion that did not exist in this case. first, there was no longer any litigation between the parties; second, art. 108 ccp confers no discretion. samson j was therefore of the view that the appeal should be dismissed. [12] schrager ja arrived at the same result, but for different reasons. in his opinion, discontinuance creates a legal fiction that puts the parties back in the position they were in prior to the court proceedings; it takes exhibits out of the public domain and returns them to the private sphere. the justification for dismissing mediaqmi’s application lies in the fact that there were no active court proceedings and that the documents were private; it does not lie in art. 108 ccp. schrager ja described that provision as being purely procedural and intended to reduce the costs associated with court records; as a result, he did not regard it as a valid basis for a decision to deny access to the exhibits. the dagenais/mentuck test could not apply in the absence of active court proceedings. schrager ja nonetheless observed, in obiter, that that test might permit access to documents relating to litigation that had ended in the limited case where the purpose of the motion was to scrutinize the judicial process as such, but this was not the case here: mediaqmi was seeking information about the parties themselves, not about the judicial process that had led to the discontinuance. [13] in her dissenting reasons, marcotte ja, like her colleague schrager ja, found that art. 108 ccp sets out an administrative rule whose purpose is to declutter court records; such a rule cannot be used to circumvent the fundamental principle of open court proceedings. in her view, the superior court judge had erred by disregarding the fact that the motion to unseal had been filed before the ciusss’s discontinuance, that is, before the end of the proceeding. in light of the importance of the principle of open proceedings and the specific context of the motion, which concerned litigation relating to the management of public funds, marcotte ja found that the superior court judge should have determined whether the exhibits were confidential before authorizing the ciusss to retrieve them. she would therefore have referred the case back to the superior court so that it could decide that issue on the basis of the dagenais/mentuck test. iv parties’ arguments [14] it is important to note from the outset that mediaqmi is not challenging the constitutionality of art. 11 or art. 108 ccp. nor is it contesting the ciusss’s discontinuance in this court, it essentially argues that the scope of the principle of open proceedings must be analyzed in light of s 2(b) of the canadian charter of rights and freedoms and the analogous guarantees set out in the quebec charter, and that its application for access to exhibits should therefore be decided on the basis of the dagenais/mentuck test. relying on the legislative history of art. 108 ccp, it argues that this provision does not override the exercise of its constitutional rights. it maintains that the ciusss’s discontinuance and the subsequent retrieval of the exhibits in issue did not make its application for access to the exhibits obsolete: the filing of its motion to unseal allegedly crystallized its rights by giving it an acquired right to argue its application. according to it, art. 11 ccp guarantees a right of access to exhibits that is not limited to what is found in the court record concerned in oral argument, it qualified the acquired rights argument by stating that the principle of open proceedings protects the right to have applications for access to exhibits decided even several years after a proceeding has ended (transcript, at pp. 21-22). applying the dagenais/mentuck test to the facts of the case, mediaqmi takes the position that there is no reason for the exhibits in issue to be confidential, and it therefore asks the court to declare that they are public and to order the ciusss to provide it with a copy of them. [15] the ciusss argues that the public nature of a court record does not necessarily mean that exhibits will continue to be part of it. the right to consult records is limited to what is contained within the records at the time they are consulted. that content is circumscribed by the guiding principle of procedure that the parties control the course of their case as well as by art. 108 ccp. the ciusss takes the view that art. 108 ccp creates an exception to the principle of open proceedings given that it is an instance where “the law . . . restricts access . . . to certain documents filed in a court record” (art. 11 para. 2 ccp). as art. 108 ccp confers no discretion on a judge, it follows that the dagenais/mentuck test does not apply. [16] mr. kamel argues that the position taken by mediaqmi implies the creation of a new procedural rule that would be contrary to the rules set out in the code of civil procedure he submits that the preliminary provision of the code and the principles of statutory interpretation prevent art. 108 ccp from being reduced to a purely administrative provision; the words of that article are clear, and the legislature would have used different language if it had intended to limit the freedom of parties to retrieve their exhibits. mr. kamel adds that because mediaqmi was never a party to the proceeding, it cannot contest the discontinuance or the consequences it may have had for its rights like the ciusss, he argues that art. 108 ccp determines the outcome of the application for access to exhibits and makes the dagenais/mentuck test inapplicable. v. issues [17] this appeal raises two questions: a what is the extent of the right conferred by the code of civil procedure to have access to the content of court records? b is mediaqmi entitled to have access to the exhibits that were in the court record at the time it filed its motion? vi analysis a what is the extent of the right conferred by the code of civil procedure to have access to the content of court records? [18] article 11 ccp sets out the principle of open court proceedings and gives members of the public the right to “have access to court records and entries in the registers of the courts”. this provision guarantees access to court records and to what they contain at the time they are consulted, aside from confidential information. where an exhibit is retrieved from a record pursuant to art. 108 ccp, it generally returns to the private sphere. article 11 ccp therefore does not confer a specific right to access exhibits that were once part of court records. a number of considerations favour this interpretation: the text, object and scheme of the code of civil procedure, the legislative history, the guiding principles of civil procedure, and practical considerations relating to the resolution of disputes. [19] in their reasons, my colleagues suggest that the result i reach would make it possible for parties to circumvent the principle of open court proceedings, which they characterize as being of public order. that criticism is unfounded. article 11 ccp. gives access to a record whose content is governed in part by art. 108 ccp. the retrieval of exhibits from a record in the circumstances described in art. 108 ccp, when an application to consult the record is pending, does not “infring[e] a rule of public order” (reasons of the chief justice and kasirer j., at para. 123); it simply constitutes the exercise of a right provided for in the code of civil procedure. with great respect for my colleagues’ view, emphasizing the importance of the principle of open proceedings is not sufficient to extend its implications beyond what is authorized by law fundamental though it may be, this principle remains circumscribed by the limits set out in the code of civil procedure. specifically, it does not give members of the public the right to have access to exhibits that have been removed from a court record in accordance with art. 108 ccp. [20] in the context of quebec civil procedure, it is therefore impossible, in my view, to give the principle of open proceedings the interpretative scope given to it by mediaqmi and my colleagues without also rewriting several rules expressly set out in the code of civil procedure but as former chief justice fauteux wrote, [translation] “[t]he constitution contemplates only one system for making laws, not two systems that can function simultaneously, in a diverging manner”: le livre du magistrat (1980), at p 125. whatever protection the principle of open proceedings may have under the charters, the legislature remains free to fix the scope of that principle in the rules it enacts. it is not the role of the courts to conduct that exercise in its place. accordingly, in the absence of a constitutional challenge, the rules clearly stated in the code of civil procedure are what apply. (1) interpretation of the code of civil procedure [21] in lac d’amiante, the court noted that in quebec, “[t]he fundamental law concerning civil procedure is the law enacted by the national assembly . . . in a code that is expressed in general terms”: para. 35. in the civil law context, creating the law remains the legislature’s prerogative: ibid. the courts perform “only . . . a secondary or interstitial function” in this regard by making rules of practice or exercising the inherent or ancillary powers provided for in arts. 25 and 49 ccp: paras. 36-38. [22] this delimitation of the role of judges reflects a specifically civilian conception of the separation of judicial and legislative functions: lac d’amiante, at paras. 37-39; l. lebel, “la méthode d’interprétation moderne: le juge devant lui-même et en lui-même”, in s. beaulac and m. devinat, eds., interpretatio non cessat — mélanges en l’honneur de pierre-andré côté (2011), 103, at p 112; fauteux, at pp. 123-26. this conception dates back at least to montesquieu, who described judges as “the mouth that pronounces the words of the law”: the spirit of laws (1777), vol. 1, at p 208. that is an eloquent turn of phrase, though too rigid; the inclination today would rather be to view judges as giving life to the dead letter of the law: p. b. mignault, “le code civil de la province de québec et son interprétation” (1935), 1 utlj 104, at p 111. apart from exceptional situations in which civil law judges are called upon to state the law that emerges from the interstices of the code, their creative activity involves [translation] “discover[ing] the potentialities of the [statutory] language” and “thus complet[ing] the legislature’s work”: l. lebel, “la loi et le droit: la nature de la fonction créatrice du juge dans le système de droit québécois” (2015), 56 c de d 87, at pp. 92-93; cie immobilier viger ltée v. giguère inc., [1977] 2 scr 67, at pp. 75-77 in so doing, they must avoid two opposite pitfalls: [translation] “counter[ing] the letter with the spirit, and the spirit with the letter” (h. f d’aguesseau, discours de m le chancelier d’aguesseau (new ed. 1822), vol. 1, at p 287, cited in fauteux, at p 14). [23] the quebec legislature has reiterated these principles relating to the role of judges in a preliminary provision whose normative value is now well established: lac d’amiante, at para. 40; prud’homme v prud’homme, 2002 scc 85, [2002] 4 scr 663, at para. 30; l. chamberland, ed., le grand collectif: code de procédure civile — commentaires et annotations, vol. 1, articles 1 à 309 (5th ed 2020), at pp. 1-5. the third paragraph of that provision sets out the framework within which the code of civil procedure must be interpreted: this code must be interpreted and applied as a whole, in keeping with civil law tradition. the rules it sets out are to be interpreted in the light of the specific provisions it contains or of those of the law, and in the matters it deals with, the code compensates for the silence of the other laws if the context so admits. [24] the preliminary provision also states that the code of civil procedure “governs” procedure before the courts “in harmony with the charter of human rights and freedoms”. in quebec (commission des droits de la personne et des droits de la jeunesse) v. communauté urbaine de montréal, 2004 scc 30, [2004] 1 scr 789, this court commented on a similar provision in the civil code of québec, stating that “[t]he interpretation of legislation must draw on [the] principles” set out in that charter: para. 20 but there is a difference — and it is a significant one — between an interpretation that draws on certain principles and an interpretation that deviates, in the name of those principles, from the legislative intent clearly expressed in the wording of a law. [25] the charters are instruments that protect rights and freedoms; they are not large procrustean beds designed to stretch laws to the desired size. on the contrary, they preserve the legislature’s autonomy by means of justificatory provisions like s 1 of the canadian charter: t. a. cromwell, s. anstis and t. touchie, “revisiting the role of presumptions of legislative intent in statutory interpretation” (2017), 95 can. bar rev. 297, at p 322. in quebec, the legislature made this very clear by enacting ss. 9.1 and 51 of the quebec charter: 9.1 in exercising his fundamental freedoms and rights, a person shall maintain a proper regard for democratic values, state laicity, public order and the general well-being of the citizens of québec. in this respect, the scope of the freedoms and rights, and limits to their exercise, may be fixed by law. 51. the charter shall not be so interpreted as to extend, limit or amend the scope of a provision of law except to the extent provided in section 52. [26] it is also important to note that in bell expressvu limited partnership v. rex, 2002 scc 42, [2002] 2 scr 559, this court rejected the argument that courts should interpret statutes so as to make them consistent with the principles or values of the canadian charter, except to resolve an ambiguity that persists after applying the contextual approach to interpretation: . . a blanket presumption of charter consistency could sometimes frustrate true legislative intent, contrary to what is mandated by the preferred approach to statutory construction. . to reiterate what was stated in symes, supra, and willick, supra, if courts were to interpret all statutes such that they conformed to the charter, this would wrongly upset the dialogic balance every time the principle were applied, it would pre-empt judicial review on charter grounds, where resort to the internal checks and balances of s 1 may be had. in this fashion, the legislatures would be largely shorn of their constitutional power to enact reasonable limits on charter rights and freedoms, which would in turn be inflated to near absolute status. quite literally, in order to avoid this result a legislature would somehow have to set out its justification for qualifying the charter right expressly in the statutory text, all without the benefit of judicial discussion regarding the limitations that are permissible in a free and democratic society before long, courts would be asked to interpret this sort of enactment in light of charter principles. the patent unworkability of such a scheme highlights the importance of retaining a forum for dialogue among the branches of governance. as such, where a statute is unambiguous, courts must give effect to the clearly expressed legislative intent and avoid using the charter to achieve a different result. [emphasis deleted; paras. 64 and 66.] (see also pharmascience inc. v. binet, 2006 scc 48, [2006] 2 scr 513, at para. 29; r v clarke, 2014 scc 28, [2014] 1 scr 612, at paras. 12-15.) [27] this approach accords with the interpretative provisions of the quebec charter, including s 53: 53. if any doubt arises in the interpretation of a provision of the act, it shall be resolved in keeping with the intent of the charter. there is therefore no doubt that the quebec charter can be used to interpret the code of civil procedure in appropriate circumstances however, this possibility is not an invitation to ignore the language of the statute and the intention expressed in it. (2) the principle of open court proceedings in quebec civil procedure [28] quebec has had four codes of civil procedure, those of 1867, 1897, 1965 and 2016. the codification of the principle of open court proceedings dates back to the code of civil procedure, sq 1897, c 48, which provided that only “sittings of a court or of a judge” were public, other than in exceptional cases where secrecy was necessary: art. 16. the 1897 codifiers drew inspiration from similar provisions found in the french and genevan codes of civil procedure: o. p. dorais and a. p. dorais, code de procédure civile de la province de québec, comprenant les observations spéciales des commissaires chargés de la révision et modification du code de procédure civile du bas-canada (1897), at p 97. it is noteworthy that those provisions focused primarily on the public nature of oral argument: code de procédure civile (france), 1806, art. 87; loi sur la procédure civile du canton de genève, 1837, s 84. like its predecessor, the code of civil procedure, cqlr, c. c-25, enacted in 1965 (“former code of civil procedure” or “former ccp”), stated that “sittings of the courts” were public: art. 13. section 23 of the quebec charter, enacted in 1975, was along the same lines, although it extended the application of the principle beyond the courts. [29] the open court principle was originally extended to court records not by legislation, but by the rules of practice made in the exercise of the power conferred on the courts by art. 47 of the former code of civil procedure. the quebec superior court had made rules authorizing the public to have access to its records and registers during business hours, subject to exceptions relating to confidential documents: rules of practice of the superior court of québec in civil matters, rrq 1981, c. c-25, r 8, rules 2 and 3. the court of québec had adopted rules of practice to the same effect: regulation of the court of québec, cqlr, c. c-25, r 4, ss. 3, 4, 18 and 19. it was clear at the time that this right of access concerned the physical court records in which parties filed their exhibits and from which they retrieved them once a proceeding had ended. [30] in its 2001 report, the civil procedure review committee made note of the change to the principle of openness introduced by the courts’ rules of practice: [translation] the importance of the open court principle in the administration of justice, both for parties and for the public, justifies continuing to codify it and structuring its application, including to specify the criteria for limiting or excluding it. all of the rules on the subject should also be harmonized, including those made by various courts concerning access to and the keeping and consultation of their records, such as section 3 of the rules of practice of the superior court of québec in civil matters. these fundamental matters in the administration of justice should be dealt with by the code in this regard, it is appropriate here to draw inspiration from the rules of practice in force while updating them to take account of information technologies or adding to them to ensure better protection of information. on another note, the current wording of article 13 of the code with respect to the openness of proceedings is imprecise given that, according to the majority opinion in the case law, the term “audiences” in the french version refers only to the trial. yet the public nature of justice encompasses the whole of the proceeding and the record. [emphasis added.] (une nouvelle culture judiciaire (2001), at pp. 42-43) the committee therefore recommended “[s]tating that civil justice is public, both with regard to the proceeding and with regard to the record”: p 43. [31] in 2016, a new code of civil procedure came into force. in arts. 11 to 16, it sets out the general scheme relating to the public nature of civil justice. article 11 incorporates the committee’s recommendation and frames the principle of open proceedings as a twofold principle involving two distinct rights. it gives members of the public the right to “attend court hearings wherever they are held” and the right to “have access to court records and entries in the registers of the courts”. the legislature thus followed the courts’ lead by including in art. 11 ccp a right to access records similar to the one provided for in the rules of practice, but it did not go so far as to create a specific right to access the exhibits filed in the course of a proceeding. [32] the code of civil procedure also indicates that the law may “restric[t] access to the court records or to certain documents filed in a court record”: art. 11 para. 2 ccp. article 12 ccp states, for example, that a court may make an exception to the principle of open proceedings if “public order . . . requires . . . that access to a document . . . be prohibited or restricted”. in addition, there are exceptions to the principle for records involving sensitive matters and for certain documents filed in a sealed envelope: art. 16 ccp. [33] this last point, which relates to the form in which documents must be filed, is echoed in art. 108 para. 1 ccp, which requires parties to file exhibits and other documents that contain personal and confidential information in a form that protects the confidentiality of that information the explicit reference to the general scheme relating to the public nature of civil justice set out in arts. 11 to 16 ccp is clear from the text of art. 108 ccp. this is confirmed by the parliamentary record and the commentary of the minister of justice: national assembly of quebec, standing committee on institutions, “étude détaillée du projet de loi no 28 — loi instituant le nouveau code de procédure civile”, journal des débats, vol. 43, no. 79, 1st sess., 40th leg., october 29, 2013, at pp. 73-77; ministère de la justice, commentaires de la ministre de la justice: code de procédure civile, chapitre c-25.01 (2015), at pp. 106-8. [34] this reference to the general scheme is clear both from the language used in art. 108 and from the holistic reading of the code of civil procedure called for by the third paragraph of its preliminary provision and by s 41.1 of the interpretation act, cqlr, c. i-16. the term “dossier” (record or case) is used many times in the french version of the code of civil procedure and generally refers to the court record, except where it is used metonymically to refer to the court proceeding associated with that record: see, for example, art. 19 ccp (the parties control the course of their dossier (case)) or art. 205 ccp (a judge who grants an application for recusation must withdraw from the dossier (case)). article 108 para. 2 ccp refers to documents filed “au dossier” (in the record). in this specific case, the dossier in question can only be the court record mentioned in art. 107 ccp to which the general scheme set out in arts. 11 to 16 ccp applies. [35] it therefore seems to be beyond question that art. 108 ccp concerns the content of the records contemplated in arts. 11 to 16 ccp, that is, the records that are subject to a court’s supervisory power and control. as i will explain, art. 108 ccp. governs the keeping, retrieval and preservation of the exhibits filed in the record to which art. 11 ccp gives access. (3) rules set out in article 108 ccp. [36] schrager and marcotte jj.a accepted mediaqmi’s argument that significantly limited the scope of art. 108 ccp on the basis of certain passages from parliamentary debates, including statements made spontaneously in answer to questions raised before a committee of the whole house and statements made by opposition members. in her dissenting reasons, marcotte ja wrote the following: [translation] . . . the scope of article 108 ccp must be brought back to its context, which is that this article reiterates the rule previously set out in article 331.9 of the former code of civil procedure, which was enacted to reduce the costs of the judicial system and to streamline court records. this is certainly a laudable goal, but it still cannot justify circumventing the fundamental principle that court proceedings are public. [para. 54] (see also the reasons of schrager ja, at para. 42.) [37] with respect, some nuance is required. no rule of statutory interpretation justifies neutering a legal rule stated in clear terms on the basis of statements made during parliamentary debates. otherwise, more weight would be given to spontaneous individual statements than to the text enacted by the legislature, each word of which must be presumed to have been chosen with care. this court has said repeatedly that “statutory interpretation entails discerning legislative intent by examining statutory text in its entire context and in its grammatical and ordinary sense, in harmony with the statute’s scheme and objects”: michel v. graydon, 2020 scc 24, at para. 21; see also rizzo & rizzo shoes ltd. (re), [1998] 1 scr 27, at para. 21. parliamentary debates can certainly inform the interpretation process, but they must not make us forget the caveats our court has attached to the admission of this type of extrinsic evidence: construction gilles paquette ltée v entreprises végo ltée, [1997] 2 scr 299, at para. 20; rizzo shoes, at para. 35; canadian national railway co. v. canada (attorney general), 2014 scc 40, [2014] 2 scr 135, at para. 47. [38] the information obtained from parliamentary debates is particularly useful when it “confirm[s] that the interpretation given is correct”: construction gilles paquette, at para. 20; see also canada 3000 inc. (re), 2006 scc 24, [2006] 1 scr. 865, at para. 57, and p-a. côté, in collaboration with s. beaulac and m. devinat, the interpretation of legislation in canada (4th ed. 2011), at pp. 466-68. this is a matter of predictability in the law. as one author notes, “arguments from parliamentary history must not result in the refusal to apply a clear rule, as doing so would unduly compromise the reader’s right to rely on the letter of the law interpreted in its context”: côté, at pp. 467-68. with respect, the approach proposed by mediaqmi, and accepted by schrager and marcotte jja, does the exact opposite of that recommendation. [39] in these circumstances, i think it is appropriate to highlight that courts do not have to interpret — let alone implement — the objective underlying a legislative scheme or provision; what they must interpret is the text through which the legislature seeks to achieve that objective the objective may be defined at various levels of abstraction: care must therefore be taken not to define it too generally by remembering that the goal of the interpretative exercise is to find harmony between the words of the statute and the intended objective, not to achieve the objective “at all costs”: sun indalex finance, llc v. united steelworkers, 2013 scc 6, [2013] 1 scr 271, at para. 174 (per cromwell j). in addition, this exercise may bring several objectives into play at the same time, all of which must be taken into account: telus communications inc. v. wellman, 2019 scc 19, [2019] 2 scr 144, at paras. 82-83; r v. rafilovich, 2019 scc 51, at paras. 29-30 in my view, this is the case of art. 108 ccp. i will explain. [40] it is inaccurate to say that art. 108 ccp merely “reiterates the rule previously set out in article 331.9 of the former code of civil procedure”: ca. reasons, at para. 54 it does much more than that the first and third paragraphs of art. 108 ccp are new law: commentaires de la ministre de la justice, at p 107. the second paragraph reiterates not one rule, but two complementary rules: those set out in arts. 83 and 331.9 of the former ccp. [41] under art. 83 of the former ccp, exhibits had to remain in the record until the end of the proceeding, but it was possible to take them out “with the consent of the opposite party or the authorization of the clerk”. retrieval of exhibits with the clerk’s authorization did not make its way into the new code of civil procedure. as for retrieval with consent, the consent of all the parties is now required. apart from this, the rule has not changed: exhibits must remain in the record until the end of the proceeding once the proceeding has ended, however, it is no longer necessary for exhibits to remain in the record. article 331.9 of the former ccp set out a second rule: it required parties to retrieve their exhibits within one year after the end of the proceeding, failing which the exhibits would be destroyed. this second rule is found in virtually the same form in art. 108 ccp. [42] article 331.9 of the former ccp was enacted in 1994 as part of bill 24, an act to amend the code of civil procedure, 3rd sess., 34th leg. that bill, which also affected art. 83 of the former ccp, reformed the general scheme for the communication and filing of exhibits and introduced mechanisms for the retrieval and destruction of exhibits. first, it encouraged parties to exchange information with regard to their respective evidence and to communicate their exhibits to one another directly, without first filing them in the court record. second, it contemplated that, from then on, exhibits would be filed and kept on the basis of usefulness and necessity. it therefore delayed the filing of exhibits until the date closest to the start of the trial when the court would need them, and it provided for the streamlining of records when keeping the exhibits no longer served any purpose in the proceeding: arts. 331.7 and 331.9 of the former ccp; see also national assembly of quebec, “adoption du principe — projet de loi 24 — loi modifiant le code de procédure civile”, journal des débats, vol. 33, no. 30, 3rd sess., 34th leg., june 1, 1994. [43] that scheme, of which arts. 83 and 331.9 of the former ccp were two key components, was incorporated in substance into the new code of civil procedure. its effect was to eliminate the role of the court office and court record as an intermediary between the parties for forwarding their respective exhibits. in doing so, it made the parties and their lawyers more accountable for the conduct of the proceeding and the fairness of the debate: civil procedure review committee, at p 138; imperial oil v. jacques, 2014 scc 66, [2014] 3 scr 287, at para. 26 it thus gave effect to two principles that were later made guiding principles of civil procedure: the parties’ control over the course of their case (art. 19 ccp) and their duty to cooperate and to keep one another informed (art. 20 ccp). [44] the scope of arts. 83 and 331.9 of the former ccp should not be narrowed on the ground that the legislature’s underlying objective was purportedly to reduce the costs associated with the judicial system an objective defined in such a general manner is, in fact, of quite limited assistance for the purposes of statutory interpretation: a very large part of civil procedure could be said to be intended to reduce the costs of the judicial system. while economic considerations related to the storage of court records may have motivated the enactment of art. 331.9 of the former ccp, the fact remains that the legislature inserted that provision into a general scheme designed to increase the parties’ responsibility, and lessen that of the courts, for the communication, filing and preservation of exhibits. [45] as the successor of the scheme introduced by bill 24 in 1994, art. 108 ccp is anything but a “purely procedural (if not mechanical)” measure that can be displaced by the principle of open proceedings: c.a reasons, at para. 42 (per schrager ja). on the contrary, it revises and unifies the rules on the keeping, retrieval and preservation of the exhibits filed in the court record to which art. 11 ccp gives access. it also deals, albeit incidentally, with the filing of exhibits, although most of the rules on that subject have been grouped together in arts. 246 to 252 ccp. insofar as it governs the content of court records, art. 108 ccp has a direct impact on the information to which the public can have access under art. 11 ccp. [46] i note in passing that the civil procedure review committee recommended the creation of a computerized system for storing court documents and records: p 107. had it been implemented, that recommendation might have made it possible for the public to have access to documents that had been retrieved from court records under art. 108 ccp. however, nothing ever came of the recommendation. it would be an encroachment on the sphere of the legislature to implement it indirectly by ordering a party to a proceeding that has ended to provide a copy of the exhibits retrieved by that party to a member of the public who wishes to consult them. (4) respective scope of articles 11 and 108 ccp. [47] the exhibits filed in a court record are intrinsically related to the evidence the parties intend to adduce in support of their allegations: h. reid, with s. reid, dictionnaire de droit québécois et canadien (5th ed. 2015), at p 474, “pièce” (exhibit); s. guillemard and s. menétrey, comprendre la procédure civile québécoise (2nd ed. 2017), at pp. xviii, “pièce” (exhibit), and 234. just as the parties control the course of their case and have control of their evidence, they necessarily also have control of their exhibits: art. 19 ccp;. imperial oil, at para. 25. they can therefore retrieve them at any stage of the proceeding, subject to the consent of the other parties; the code of civil procedure does not require any prior authorization from the court. article 108 ccp. thus implicitly recognizes that, even after they are filed in the court record, exhibits remain the property of the parties. indeed, if the filing of exhibits transferred ownership to the court, the code would not allow the parties to retrieve them at any stage of the proceeding, and it certainly would not require the parties to retrieve them once the proceeding has ended. while the exhibits are in its possession, the court merely has “custody” of them: vickery v. nova scotia supreme court (prothonotary), [1991] 1 scr 671, at pp. 681-82 this is why it does not keep the exhibits in its records indefinitely. [48] article 11 ccp gives the public the right to have access to court records with the documents and exhibits they contain at the time they are consulted, subject to exceptions for confidential information. it gives “access to exhibits” only to the extent that they are in the record. where parties are slow to retrieve their exhibits at the end of a proceeding, the exhibits will remain accessible to the public until they have been retrieved from the record or destroyed by the court clerk. but once the exhibits have been retrieved or destroyed, the public no longer has access to them. [49] the conclusion at which i arrive is in keeping with the intention expressed by the legislature through the words of arts. 11 and 108 ccp, with the legislative objectives underlying those provisions, with the general scheme of the code of civil procedure and with civil law principles of interpretation it also avoids giving the principle that civil justice is public set out in art. 11 ccp a scope that might distort that principle, just as it avoids undermining other important objectives of the code of civil procedure, such as the prevention and resolution of disputes: preliminary provision, para. 2, arts. 1, 9 para. 2 and 19 para. 3 ccp. [50] in civil matters, parties generally go before the courts because they need [translation] “the operation of social constraints” to enforce their rights and resolve their conflict: h. motulsky, principes d’une réalisation méthodique du droit privé (la théorie des éléments générateurs des droits subjectifs) (1948), at p 35 (emphasis deleted). but the code of civil procedure does not chain parties to the proceedings they have initiated; on the contrary, it reminds them that they may, at any time, settle their dispute and thereby terminate a proceeding: art. 19 para. 3 ccp. it therefore subordinates the judicial resolution of disputes to the restoration of social peace: preliminary provision, para. 2; s. guillemard, “réflexions autour des sept premiers articles du code de procédure civile”, in s. guillemard, ed., le code de procédure civile: quelles nouveautés? (2016), 123, at pp. 128-29. [51] several considerations may lead to the resolution of a dispute brought before a court. one of them is a desire for confidentiality: sup. ct. reasons, at para. 119. as my colleague abella j once noted, a climate of confidentiality “promotes settlements”: sable offshore energy inc. v. ameron international corp., 2013 scc 37, [2013] 2 scr 623, at para. 12. article 4 ccp recognizes this as well. the objective of facilitating the resolution of disputes would surely be undermined if parties who wished to come to an agreement after taking a matter to court could not bring the documents they had filed with the court back into the private sphere when parties decide to terminate a proceeding, they must be free to retrieve their exhibits. indeed, the code of civil procedure requires them to do so. [52] exhibits filed in a court record may reveal various aspects of parties’ private lives, but they are accessible to the public nonetheless. the fact that civil justice is public means that those who bring court proceedings must waive, in part, their right to privacy: lac d’amiante, at para. 42. however, they waive that right temporarily. by arguing that any application for access to exhibits removed from a record should be decided on the basis of the dagenais/mentuck test, even when the exhibits in question were removed several years earlier, mediaqmi seeks instead to make the waiver a permanent one.2 it would impose a burden as heavy as it is unjustified on those who were parties to litigation that has now ended and who would like to preserve the confidentiality of the exhibits they have retrieved. if by chance a journalist or member of the public applied for access to those exhibits, the parties would in fact be required to show that confidentiality is “necessary in order to prevent a serious risk to the proper administration of justice because reasonably alternative measures will not prevent the risk” and — given that the two branches of the test are cumulative — that the salutary effects of confidentiality outweigh its deleterious effects on freedom of expression and the public interest in open proceedings: mentuck, at para. 32; see also dagenais, at p 878. [53] that position is inconsistent with the legislative intention reflected in art. 11 ccp, with the general scheme of the code of civil procedure and with the objective of facilitating the resolution of disputes. it also strikes me as unworkable in light of the situation contemplated by art. 108 para. 2 ccp in which the court clerk 2 in support of their position, mediaqmi and the interveners drew our attention to some cases from common law jurisdictions, including ctv television inc v ontario superior court of justice (toronto region) (2002), 59 or (3d) 18 (ca), and hong v. lavy, 2019 nssc 271, 46 cpc (8th) 327. without expressing any opinion on the merits of those decisions, i note that they are readily distinguishable from this case. both of them were rendered in a context in which there was no statutory or regulatory provision that controlled access to exhibits and the content of court records, as arts. 11 and 108 ccp do. may destroy exhibits that are not retrieved after one year the principle of open proceedings would thus vary in scope depending on whether or not exhibits have been destroyed. [54] in my view, the position advanced by mediaqmi must be rejected. the right to have access to court records set out in art. 11 ccp is not meant to ensure perpetual access to exhibits that were in a court record at some point openness as conceived of by the code of civil procedure does not relate to the parties and the private exhibits through which they intend to prove their arguments it is first and foremost a guarantee of [translation] “due process, the impartiality of judges and the proper conduct of proceedings”: r. perrot, institutions judiciaires (1978), at p 366, cited in n. fricero, “audience et débats”, in jurisclasseur france — procédure civile, by p. carillon and r. perrot, eds., 2020, fasc. 800-50, at no. 17 (available on lexis/nexis) in this regard, it is closely related to judicial accountability: attorney general of nova scotia v. macintyre, [1982] 1 scr 175, at pp. 183-84. [55] it is true that, with the advent of the canadian charter, judges relied on freedom of expression and freedom of the press to give the openness of proceedings a new dimension involving public access to information held by courts: canadian broadcasting corp v new brunswick (attorney general), [1996] 3 scr 480, at paras. 18-26; sierra club of canada v. canada (minister of finance), 2002 scc 41, [2002] 2 scr 522, at paras. 36 and 52; s. menétrey, “l’évolution des fondements de la publicité des procédures judiciaires internes et son impact sur certaines procédures arbitrales internationales” (2008), 40 ottawa l. rev. 117, at pp. 130-39. but whatever its scope, the principle of open court proceedings has limits. this court has recognized, for example, the confidential nature of examinations on discovery (lac d’amiante, at paras. 75-77) and the constitutionality of limits on filming and taking photographs in courthouses and on using audio recordings of court proceedings: canadian broadcasting corp. v. canada (attorney general), 2011 scc 2, [2011] 1 scr 19. the secrecy afforded to judicial deliberations is also well established: british columbia (attorney general) v. provincial court judges’ association of british columbia, 2020 scc 20, at para. 66; tremblay v. quebec (commission des affaires sociales), [1992] 1 scr 952, at p 966. as three authors note: [translation] it is fair to acknowledge that the principle of openness does not clearly apply at every stage of a trial. for example, it is difficult to see what safeguard a high degree of openness could provide when parties draft their application or when judges deliberate. at certain times during a trial, secrecy even comes to be thought of as preferable by far if the aim is to make justice more impartial. on this point, everyone agrees that, at its various stages, the justice system can live with a certain lack of openness and can even involve some secrecy. (r. perrot, b. beignier and l. miniato, institutions judiciaires (18th ed. 2020), at p 442) [56] to summarize, art. 11 ccp gives the public the right to have access to court records, subject to exceptions for confidential information this right applies during and after a proceeding. it allows the public to consult the exhibits filed in the record, but only if they are in the record at the time it is consulted. the content to which it gives access is governed in part by art. 108 ccp. that provision authorizes the parties to retrieve their exhibits by consent in the course of a proceeding, and requires them to retrieve their exhibits once the proceeding has ended. even after the proceeding has ended, the exhibits can be consulted as long as they remain in the record. but once the parties retrieve them or the court clerk destroys them, they cease to be part of the record to which the public can have access. [57] articles 11 and 108 ccp do not give rise to any judicial discretion. this is why the dagenais/mentuck test should not be used to decide an application under art. 11 ccp. that test was developed in a very different context from the one in question here, a context in which a comprehensive scheme enacted by parliament served as a framework for the principle of openness dagenais established that the discretion to make an order limiting the openness of proceedings must be exercised within the boundaries set by the canadian charter: p 875. to determine the correct balance between the competing constitutional rights engaged by this type of order — in that case, ss. 2(b) and 11(d) of the canadian charter — the court proposed a two-part test designed to reflect the substance of the test in r v. oakes, [1986] 1 scr 103: dagenais, at p 878. subsequent decisions have fleshed out the test without changing the context in which it applies, that is, where a discretion must be exercised and the court has to seek a correct balance between rights and interests that pull in opposite directions: mentuck; sierra club; globe and mail v. canada (attorney general), 2010 scc 41, [2010] 2 scr 592. in the absence of such a discretion, the test simply does not apply: named person v. vancouver sun, 2007 scc 43, [2007] 3 scr 253, at paras. 35-36; canadian broadcasting corp v the queen, 2011 scc 3, [2011] 1 scr 65, at para. 13. this is because where the law fixes the scope of the principle of open proceedings without conferring any discretion on judges, there is no reason to seek a correct balance between competing rights and interests that is within the boundaries set by the canadian charter. given that the constitutionality of arts. 11 and 108 ccp has not been challenged, it is unnecessary to say any more on the subject. [58] that being said, i will add that the concern expressed by schrager ja. seems entirely legitimate to me: ca reasons, at paras. 43-44. i am of the view that if a motion, supported by persuasive evidence, called the very integrity of the judicial process directly into question in a context where exhibits had been retrieved from a record, a different conclusion about the application of the dagenais/mentuck test might be necessary. but such a motion could not be based solely on art. 11 ccp; it would have to be based on provisions that confer a discretion, such as those dealing with the courts’ inherent powers: arts. 25 and 49 ccp;. lac d’amiante, at para. 37. because this question does not arise in the present case, however, i will refrain from providing any definitive answer to it it is sufficient to note that civil procedure is “flexible”: bisaillon v. concordia university, 2006 scc 19, [2006] 1 scr 666, at para. 63. it therefore does not lack resources to deal with situations that are contrary to the fundamental principles of our justice system. [59] now that the respective scope of arts. 11 and 108 ccp has been defined, these provisions should be applied to the facts of this case. b. is mediaqmi entitled to have access to the exhibits that were in the court record at the time it filed its motion? [60] mediaqmi filed its “motion to unseal” on march 29, 2017. at that time, it did not know what was in the record for the litigation between mr. kamel and the ciusss; it was also unaware of the existence of the exhibits of which it now seeks a copy, precisely because of the sealing order it was applying to lift. its motion was not heard until april 25, 2017. in the meantime, the ciusss discontinued its application and tried to retrieve its exhibits. the only reason it was unable to do so was that the staff of the court office could not find the record. [61] that combination of circumstances prompted the ciusss, at the hearing on april 25, 2017, to make the oral request that led to this appeal. the superior court’s judgment [translation] “authorizes the ciusss to remove exhibits p-1 to p-4 from the record”: para. 137. that conclusion certainly had the merit of clarifying the state of affairs, but it was not, strictly speaking, necessary in law. as i have explained, the rules set out in art. 108 para. 2 ccp do not require any authorization from a court. [62] the ciusss’s discontinuance terminated the proceeding and restored matters to the state they were in before the application was brought: art. 213 ccp. this means that [translation] “[t]he parties’ rights are as they were, as if no court proceeding had taken place”: h. maillette, “incidents qui mettent fin à l’instance”, in jurisclasseur québec — collection droit civil — procédure civile i (2nd ed. (loose-leaf)), by p-c. lafond, ed., fasc. 21, at no. 9. because the proceeding had been terminated, the documents and real evidence filed as exhibits no longer had to remain in the superior court’s record: this is what follows from reading a contrario the first of the two rules set out in art. 108 para. 2 ccp. the second of those rules requires the parties to retrieve their exhibits within one year. the ciusss did not wait that long. since it was unable to retrieve its exhibits when it filed its discontinuance, it did so the day after the superior court’s judgment was rendered. [63] as counsel for the ciusss acknowledged in oral argument, the record and the exhibits in it were accessible to the public during the time between the rendering of gagnon j.’s judgment and the ciusss’s retrieval of its exhibits (transcript, at p 55). this was because the sealing order that had kept the record confidential until then came to an end when that judgment was rendered. i therefore do not agree with schrager ja. that the effect of the discontinuance was to put the ciusss’s exhibits back in the private sphere through the legal fiction of restoring matters to their former state: ca. reasons, at para. 37. that position is contradicted by the undisputed fact that, in spite of the discontinuance, the exhibits remained accessible to the public between the date gagnon j rendered his judgment and the date they were retrieved from the record; that position would also create an undesirable imbalance in the way that different methods of terminating a proceeding affect the openness of records and of their content. it is unclear why exhibits relating to a proceeding terminated by a discontinuance would be confidential even before the parties retrieved them, whereas exhibits relating to a proceeding terminated in a context not involving the legal fiction of restoring matters to their former state, such as the context of a settlement under art. 220 ccp, would remain public until they were retrieved by the parties. [64] in this case, therefore, mediaqmi could have consulted the exhibits in issue if it had applied for access to the record during the time when the exhibits were available, since no conservatory measure had been sought by the parties. mediaqmi did not do so. i agree that these rather unusual circumstances seem to make this case look like a race against time. but that is not a consequence of the parties’ speed in going to the office of the superior court. it is a consequence of the rules in the code of civil procedure. the situation would have been the same if the ciusss had waited weeks before retrieving its exhibits and mediaqmi had gone to the court office to consult the record after the exhibits had already been retrieved. this is because the right to “have access to court records” set out in art. 11 ccp gives access to the public content of those records and to the exhibits that are in them at the time they are consulted; it does not give general access to everything that was ever part of the records. [65] mediaqmi’s right to “have access to court records” was never compromised. only the terms of access to the court record and the content of that record changed between the filing of the “motion to unseal” and the retrieval of the exhibits. however, that situation was beyond the reach of art. 11 because it fell within art. 108 ccp. [66] like mediaqmi, my colleagues characterize the “motion to unseal” as an “application for access to exhibits”. in their view, the fact that such an application was filed prior to the ciusss’s discontinuance is determinative in the analysis. i disagree. this alone cannot give mediaqmi any [translation] “acquired right to argue its demand”3 (af, at p 17) within the dagenais/mentuck framework. i note as well that mediaqmi’s application has already been argued, albeit not within the legal framework it would like. but this is the case only because the dagenais/mentuck test did not apply in the absence of any judicial discretion. [67] asserting an acquired right is not enough to make one magically appear. the filing of a motion under art. 11 ccp does not give the moving party any right to require that the content of the court record remain unchanged until the motion is decided. although my colleagues accept mediaqmi’s arguments on this point, they do not identify any concrete, individualized legal situation that would have enabled mediaqmi to acquire a right to argue its application on the basis of the dagenais/mentuck test and, correspondingly, a right to require that the content of the court record be frozen on the day the application was filed as i understand their reasons, they argue rather that because of that pending application, the ciusss’s discontinuance could not be invoked against mediaqmi, which was not a party to the 3 this expression, which my colleagues adopt, comes from the very specific context of classic fabrics corp. v. b. rawe gmbh & co., 2001 canlii 7221 (que. ca). in that commercial case, a quebec company had tried to sue a german company, but the quebec courts had declined jurisdiction based on the rules of private international law. the german company had countered by suing the quebec company in quebec, but had filed a discontinuance after the quebec company tried to amend its defence to add a cross demand. the discontinuance would have prevented the quebec company from having its claim decided by the quebec courts. because this was unquestionably prejudicial to the rights and advantages to which the state of the proceedings had given rise in its favour, the quebec company applied to set aside the discontinuance. the court of appeal ruled in its favour; it set aside the discontinuance and allowed the cross demand to be added. those were the unusual — to say the least — circumstances that led the court to speak of an [translation] “acquired right to argue its demand, which the [german company] could not prejudice through a discontinuance of its action” (para. 39). i see nothing in that decision that would establish that any incidental application, even one that is brought by a person who is not a party to the proceeding and that is unconnected with the parties’ arguments on the merits, confers a real acquired right to argue the application notwithstanding the filing of a discontinuance. proceeding, with the result that the proceeding did not end with regard to mediaqmi and that the parties could not raise the effects of art. 108 ccp against it. [68] with respect, it seems to me that my colleagues’ position takes some concerning liberties with the statutory language. it takes a roundabout path to avoid the legal consequence attached by the code of civil procedure to a notice of discontinuance filed with the court office and notified to the parties this legal consequence, which is not conditional on the absence of pending applications, is the termination of the proceeding: art. 213 ccp. yet the termination of the proceeding entitles — indeed requires — the parties to retrieve their exhibits: art. 108 ccp. the legal consequence from which the power to retrieve the exhibits in the record arises can therefore be avoided only by contesting the discontinuance itself. [69] again with respect, my colleagues’ line of reasoning is essentially based on decontextualized quotations from decisions that are contrary to the position they adopt: reasons of the chief justice and kasirer j., at paras. 109-15 and 139 they disregard the legal consequence of a discontinuance, even though mediaqmi never applied to set it aside, on the ground that a unilateral act of renunciation cannot adversely affect the rights of others but the sources they rely on for this novel proposition instead establish that an application to set aside a discontinuance can be made if the rights of others are adversely affected. if alleging some kind of prejudice were enough to negate the extinctive effect of a discontinuance on a proceeding, it would not have been necessary to contest the prejudicial discontinuances in those cases. in my view, my colleagues’ reasoning makes all of the jurisprudence flowing from l’espérance v atkins, [1956] b.r 62, superfluous and, at the same time, rewrites art. 213 ccp to dissociate the notice of discontinuance from its legal consequences for the proceeding under way. i note that their reasoning is also contrary to french law, under which persons who are not parties to a proceeding must seek to have a discontinuance set aside if they wish to prevent it from extinguishing the proceeding:4 n. fricero, “désistement”, in jurisclasseur france — procédure civile, by p. carillon and r. perrot, eds., 2018, fasc. 800-40, at no. 105 (available on lexis/nexis). finally, even if it were assumed that mediaqmi could show that its rights were adversely affected because it was unable to consult the exhibits in issue, this would not have resulted from the discontinuance itself: the discontinuance had no effect on the rights conferred on mediaqmi by art. 11 ccp. it would instead have resulted from the retrieval of the exhibits that followed the discontinuance. this is why, even if, for the 4 french law conceives of discontinuance as [translation] “an offer made by the plaintiff to the defendant, who accepts it, to stop the trial without waiting for the judgment”: j. vincent and s. guinchard, procédure civile (27th ed. 2003), at p 878 (emphasis deleted). in principle, the plaintiff is free [translation] “in any matter” to discontinue an application: art. 394 of france’s nouveau code de procédure civile but the plaintiff’s unilateral manifestation of will is not sufficient to extinguish the procedural legal relationship created between the parties by the plaintiff’s judicial application; the discontinuance must also be “perfected” by the defendant’s acceptance however, acceptance is “not necessary if the defendant has not pleaded any defence on the merits or peremptory exception at the time of the plaintiff’s discontinuance”: art. 395. in cases where acceptance is required, it may be refused only for a legitimate reason: art. 396. where there are several parties or interveners, the procedural legal relationship is extinguished only for those who have accepted the discontinuance: fricero, “désistement”, at no. 106. persons who are not participating in the proceeding, and whose acceptance is therefore not required by france’s code de procédure civile, cannot prevent a perfected discontinuance from extinguishing the procedural legal relationship but if the discontinuance adversely affects their rights, they can seek to have it set aside: ibid., at no. 105. unlike french civil procedure, quebec civil procedure does not distinguish between a discontinuance that has been “perfected” and one that has not. it regards a discontinuance as extinguishing the proceeding, but it allows the discontinuance to be set aside if there is prejudice to the rights of a party (atkins; 175809 canada inc. v 2740478 canada inc., 2000 canlii 9254 (que. ca)) or a third person (such as a child in whose interests a judge must rule under art. 33 of the civil code of québec: droit de la famille — 092038, 2009 qccs 3822, [2009] rdf 646). purposes of discussion, my colleagues’ reasoning were to be accepted, it would not lead to the conclusion that the ciusss’s discontinuance prejudiced mediaqmi’s rights. [70] in short, the discontinuance of a proceeding is not a unilateral act of renunciation like any other because it is a way of forgoing a trial, it nullifies the parties’ procedural legal relationship arising from the judicial application this explains why a defendant or intervener can contest a discontinuance that is prejudicial to it the situation is different for a third person whose rights and interests are not affected by the parties’ arguments on the merits. prima facie, the extinguishment of the procedural legal relationship has no effect on that person. if prejudiced by it for any reason, the third person may apply to set aside the discontinuance in this case, if mediaqmi wanted to prevent the exercise of the power given by art. 108 ccp to the parties to a terminated proceeding, it had to contest the discontinuance extinguishing the proceeding it did not do so there was therefore nothing that prohibited the ciusss from retrieving its exhibits. [71] i also note that my colleagues do not explain how remanding the case to the superior court “so that it can decide the application for access to the exhibits in accordance with the applicable law” (that is, in their view, in accordance with the dagenais/mentuck test) would help mediaqmi access exhibits that were retrieved from the record the day after the superior court’s judgment was rendered: para. 143. in light of the code of civil procedure, and given that mediaqmi’s motion was based on a provision giving it the right to have access to a court record, i fail to see how the motion would enable it to consult exhibits that had in fact already been retrieved from the record in accordance with art. 108 ccp. although counsel for the ciusss agreed as a courtesy to keep a copy of the exhibits until the case was over, he did so “[w]ithout prejudice” and “without any admission” (ar, at pp. 82 and 85): this did not create any legal fiction that would make it possible to proceed as if the exhibits had never been retrieved finally, i note that my colleagues’ position departs from what mediaqmi has asked this court to do, which is to declare that the exhibits that were once in the record are public and to order the ciusss to provide it with a copy of them. i agree with schrager j.a that mediaqmi is confusing the access to information mechanisms and the principle of open proceedings: ca reasons, at para. 44. [72] i therefore conclude that mediaqmi cannot obtain a copy of the exhibits that were in the superior court’s record at the time its “motion to unseal” was filed. vii conclusion [73] for these reasons, i would dismiss the appeal with costs. english version of the reasons of wagner c.j and rowe, martin and kasirer jj. delivered by the chief justice and kasirer j — i. introduction [74] we have had the advantage of reading the reasons of our colleague côté j. we agree with her that the right to have access to court records arising from the principle of open court proceedings, which is set out in art. 11 of the code of civil procedure, cqlr, c. c-25.01 (“ccp”), does not confer a right to access exhibits once they have been validly removed by the parties or destroyed by the court clerk. however, with respect, we differ with her on the outcome of this appeal our disagreement concerns the time at which it should be determined whether the exhibits are in the court record. in our opinion, the state of the record must be assessed at the time the appellant asserted its right to have access to the exhibits. [75] in this case, the respondent centre intégré universitaire de santé et de services sociaux de l’ouest-de-l’île-de-montréal (“ciusss”) — the plaintiff in the principal litigation — filed a judicial application alleging misappropriation of public funds by the respondent magdi kamel. in a proceeding conducted ex parte, that is, in the absence of the other party, the ciusss obtained an order from a judge sealing its application and the exhibits filed in support of it. the appellant, a publisher of daily newspapers and not a party to the principal litigation, applied for access to the exhibits, relying on art. 11 ccp and freedom of the press. it did so while the exhibits were in the court record. the ciusss subsequently discontinued its judicial application. [76] while the law authorizes a plaintiff to discontinue an action at any time, we are of the view that such a procedure cannot allow the plaintiff to circumvent an application already brought against it for access to sealed exhibits. from the moment the appellant applied to unseal the court record and have access to the exhibits, the litigation took on a different colour a second proceeding arose, connected to but distinct from the principal litigation. it not only concerned the plaintiff, the defendant and their private dispute, but was also of concern to the public and, it should be emphasized, the judiciary itself if the plaintiff’s discontinuance had the effect of preventing the appellant from having access to the court record, it would interfere with the proper functioning of the judicial institution, the legitimacy of which depends on its openness and, as we know, on media scrutiny. once the appellant applied to unseal the record, the exhibits covered by its application were necessarily part of that new proceeding, which meant that the parties no longer had control over them while the matter was being argued. [77] said respectfully, this appeal cannot be reduced to a routine application of a rule set out in the code of civil procedure; it concerns matters well beyond the strict confines of art. 108 ccp, which allows parties to litigation to remove their exhibits from the court record on certain conditions. the dispute highlights the need to reconcile competing principles: first, the openness of court proceedings (art. 11 ccp), a rule of public order to which courts may make exceptions (art. 12 ccp), and second, the parties’ “control [over] the course of their case” (maîtrise de leur dossier), including the power to terminate a proceeding at any time (art. 19 ccp). where a member of the public — here, the publisher of the daily newspapers le journal de montréal and le journal de québec — challenges a sealing order and seeks access to a court record, prior to a discontinuance and while the exhibits are still in the record, these two principles must be reconciled in our view, the plaintiff’s ability to discontinue an action cannot deprive the appellant, in the circumstances of this case, of its right to argue its motion for access to the exhibits in the record and, if the court grants that motion, of its right to have access to the record. the parties’ control over the course of their case may not be exercised contrary to the existing and legitimate interests of a third person, let alone contrary to a rule of public order requiring that civil justice administered by the courts be public. [78] accordingly, for the reasons that follow, we would allow the appeal and remand the case to the superior court so that it can decide the merits of mediaqmi’s application for access to exhibits on the basis of the analytical framework established in dagenais v. canadian broadcasting corp., [1994] 3 scr 835, and r v. mentuck, 2001 scc 76, [2001] 3 scr 442, which was affirmed for civil proceedings in sierra club of canada v. canada (minister of finance), 2002 scc 41, [2002] 2 scr 522. ii background [79] on october 6, 2016, the ciusss filed a legal action seeking an award of $510,266 against one of its former managers, mr. kamel, for alleged misappropriation of public funds earmarked for health services. in its judicial application, the ciusss alleged that mr. kamel had used a [translation] “scheme” to steal public funds intended for health care from the ciusss and the hospital it ran. among other things, the ciusss stated the following: [translation] by virtue of the position he held and the trust placed in him, kamel fraudulently obtained reimbursement for personal expenses unrelated to the activities of [st mary’s hospital center], thereby misappropriating a total of $410,266 during the period of april 1, 2009 to march 31, 2015 (“period”), by taking advantage of loopholes in the implementation of the ciusss/smhc policies on the reimbursement of expenses, as can be seen more fully from the pwc report (see section 4 for a summary of pwc’s findings); two main modus operandi were used by kamel: (a) expense claims with no voucher attached, and (b) expense claims with certain vouchers attached that, upon analysis, proved to be unfounded; (ar, at p 37) [80] in its application, the ciusss stated that it had hired the pwc firm to get to the bottom of the irregularities alleged against mr. kamel. claiming reimbursement of the amounts supposedly stolen by mr. kamel, the ciusss filed four exhibits in support of its application, including a confidential forensic accounting investigation report prepared by pwc. [81] it should be noted that mr. kamel was initially suspended and that he ultimately resigned from his managerial position with the ciusss before the proceedings were filed his resignation letter was also one of the exhibits filed in support of the ciusss’s application. [82] in connection with its action, the ciusss filed an application for a norwich order against a financial institution in order to obtain bank records concerning mr. kamel. the fraud allegations made against mr. kamel were based mainly on the forensic accounting investigation report prepared by pwc. we note that the ciusss is a legal person established in the public interest and “is responsible for ensuring the development and smooth operation of th[e] local health and social services networks” (act to modify the organization and governance of the health and social services network, in particular by abolishing the regional agencies, cqlr, c. o-7.2, s 38)  crucial services provided to the public in quebec. [83] on october 7, 2016, the superior court made a norwich order. it ordered that the entire record be sealed for a period of 120 days, which was later extended until april 18, 2017. [84] on march 29, 2017, the appellant filed an application for access to the court record entitled [translation] “motion to unseal”, relying in part on art. 11 ccp. noting that it published daily newspapers in montréal and québec, the appellant stated in its motion that it was “entitled to have access to the court’s record, in accordance with art. 11 of the code of civil procedure and s 23 of the charter of human rights and freedoms [cqlr, c. c-12 (“quebec charter”)], pursuant to the principle of accessibility of the court’s records, the openness of court proceedings, and freedom of the press and its corollary, news gathering” (ar, at p 50). [85] the conclusions sought by the appellant were set out as follows: [translation] grant this motion; terminate any order whose purpose is to restrict the access of the public and the applicant to the court record for file 500-17-095861-160. without legal costs unless this motion is contested. [emphasis added.] (ar, at p 51) [86] the appellant specified at para. 7 of its motion that it was seeking access to the record, including the exhibits filed in it: [translation] . . . obtain access to the court’s record, including but not limited to the originating application, the various pleadings that followed, and the exhibits that may have been filed by the parties. [emphasis added.] (ar, at p 50) the objective behind the conclusions sought is therefore plain. [87] the notice of presentation indicated that the motion was to be heard on april 5, 2017 on that date, counsel for the ciusss asked the superior court to postpone the hearing to april 18, the date on which the order sealing the record and making it confidential was to expire because counsel for the appellant was not available on april 18, the respondents and the appellant agreed that the matter would be argued on april 25 and the order was renewed until that date. [88] on april 19, 2017 — more than three weeks after mediaqmi filed its motion to unseal and to obtain the pleadings and exhibits — the ciusss discontinued its judicial application. during the days that followed, the ciusss tried unsuccessfully to remove the exhibits filed in the court record, but the record could not be found. [89] two days later, on april 21, 2017, mr. kamel applied to withdraw the originating application or, in the alternative, to have it sealed. that proceeding was not contested by the ciusss, but mediaqmi opposed it, relying once again on the open court principle and freedom of the press. [90] the matter was heard on april 25, 2017. at that time, the ciusss made a request to retrieve the exhibits, notably exhibit p-1, the forensic accounting investigation report by pwc the appellant objected to that request, noting that the purpose of its motion was not only to unseal the record but also to obtain the exhibits that were in it at that time. at the hearing, counsel for the appellant expressly reiterated the request for access to the exhibits: [translation] with respect, what i am telling you is . . . that a right was crystallized the exhibits are in the record we were there, [we] applied in a timely manner while the exhibits were in the record. it would be unfair to turn around today and say: “well, i’m removing the exhibits” even though we had . . . we have a constitutional right to access. (ar, at p 165) [91] on july 20, 2017, the superior court judge ordered that the record be unsealed. however, the judge did not decide the appellant’s application for access to exhibits, as he found that parties have [translation] “complete freedom to remove all exhibits from the record and to shield them from public scrutiny” once a proceeding is terminated by a discontinuance (2017 qccs 4691, at para. 119 (canlii)) he therefore authorized the ciusss to remove the exhibits filed in the record, but held that, under the code of civil procedure, the originating application had to remain in the record (para. 121). on july 21, 2017, the ciusss removed the exhibits from the court record. counsel for the ciusss kept a copy of the exhibits until such time as the appellant’s appeal was decided or settled (ar, at pp. 82-85). [92] the majority of the court of appeal dismissed mediaqmi’s appeal (2019 qcca 814). marcotte ja, dissenting, would have allowed the appeal, set aside the judgment of the superior court and referred the case back to that court so that it could decide the application for access to exhibits. iii applicable legal framework a parties’ control over the course of the case and openness of proceedings [93] this appeal provides the court with an opportunity to consider the interplay between some general principles of quebec civil procedure. the principles in question in this case are as follows: first, the principle that the parties have control over the course of their case, including the essential right to resolve their disputes in private, free from public scrutiny; second, the principle of open court proceedings, a principle of public order based on the transparency of justice and, correlatively, on public access to what takes place in the courts. when there is tension between these principles, as in this case, it will of course be important to identify a manner in which they might be reconciled. [94] the code of civil procedure contains principles that circumscribe the application and interpretation of the rules it sets out in 2001, the civil procedure review committee proposed that the principles of the precedence of substantive law over procedure, the adversarial process, control over the course of cases and proceedings, judicial intervention to ensure the orderly conduct of proceedings, the openness of proceedings and the proportionality of proceedings be grouped together [translation] “[t]o emphasize them and ensure their primacy” (une nouvelle culture judiciaire (2001), at p 38, cited in charland v. lessard, 2015 qcca 14, at para. 169 (canlii)). these principles are now gathered together in arts. 8 to 28 ccp under the title “principles of procedure applicable before the courts”, which has four chapters: mission of the courts, public nature of procedure before the courts, guiding principles of procedure, and rules of interpretation and application of the code. [95] the parties’ control over the course of their case is a guiding principle set out in art. 19 ccp. the parties thus have a [translation] “circumscribe[d]” freedom to choose the appropriate proceedings and the grounds of fact and law they will raise (ministère de la justice, commentaires de la ministre de la justice: code de procédure civile, chapitre c-25.01 (2015), art. 19; imperial oil v. jacques, 2014 scc 66, [2014] 3 scr 287, at para. 25). this principle extends to the parties’ right to agree “at any stage of the proceeding” to settle their dispute or otherwise terminate the proceeding (para. 3). they may therefore decide to remove their dispute from the judicial arena in order to resolve it privately. [96] this ability to withdraw a case from the courts is consistent with the general approach taken by the code of civil procedure, which places a [translation] “spectacularly” high value on private civil justice (c. piché, “la disposition préliminaire du code de procédure civile” (2014), 73 r du b 135, at p 152). as its preliminary provision indicates, the code of civil procedure “is designed to provide, in the public interest, means to prevent and resolve disputes”, and it sets out general principles in this regard in arts. 1 to 7. in this way, the legislature expressly recognizes that when parties enter into a dispute prevention and resolution process by mutual agreement, civil justice is possible, even desirable, without the intervention of the courts facilitating the resolution of disputes is a public objective of undeniable importance, both for the parties and for our overburdened justice system (union carbide canada inc. v. bombardier inc., 2014 scc 35, [2014] 1 scr 800, at para. 32; l. chamberland, ed., le grand collectif: code de procédure civile — commentaires et annotations, vol. 1, articles 1 à 390 (5th ed. 2020), at p 9). private dispute resolution processes have several advantages, including [translation] “their confidentiality, their more informal nature, their flexibility, better conflict management by the parties, lower costs and the possibility of arriving at individualized solutions” (p-c. lafond, “introduction”, in p-c. lafond, ed., régler autrement les différends (2nd ed. 2018), 1, at p 20; see also m. thériault, “le défi du passage vers la nouvelle culture juridique de la justice participative” (2015), 74 r du b 1, at pp. 9-12). [97] however, the parties’ control over the course of their case is not absolute: it cannot be exercised contrary to rules of public order or to the existing and legitimate interests of third persons. in exercising this power, the parties must “comply with the principles, objectives and rules of procedure” (art. 19 para. 1 ccp). the latitude given to the parties in conducting the proceeding is therefore limited by the general principles of civil procedure, including the rules found in the code of civil procedure, which confer on judges a role as [translation] “protectors of the judicial process and the various parties’ rights” (j. plamondon, “les principes directeurs et le nouveau code de procédure civile (art. 17 à 24 cpc)”, in s. guillemard, ed., le code de procédure civile: quelles nouveautés? (2016), 27, at pp. 38-39) as professor piché notes, the code of civil procedure [translation] “gives the judge’s duties priority over the parties’ rights” (p 166) having chosen to go before the courts, the parties must therefore comply with the established rules and principles. [98] the parties’ control over the course of their case, for example, is subject to the “duty of the courts to ensure proper case management and the orderly conduct of proceedings” (art. 19 para. 1 ccp). the courts are therefore required to play an active role in the management of cases, thereby incidentally limiting the parties’ control over the conduct of a proceeding (f. bachand, “les principes généraux de la justice civile et le nouveau code de procédure civile” (2015), 61 mcgill l.j 447, at p 458; homans v gestion paroi inc., 2017 qcca 480, at paras. 92-93 (canlii)) the principle of proportionality set out in art. 18 ccp is also a good example of a restriction on [translation] “the parties’ freedom to conduct their case as they see fit” (jg v. nadeau, 2016 qcca 167, at para. 40 (canlii); see also y-m. morissette, “gestion d’instance, proportionnalité et preuve civile: état provisoire des questions” (2009), 50 c de d 381, at p 412). in short, the parties can have only [translation] “incomplete” control over the course of the case given the interplay between that control and the competing and divergent principles set out in the code of civil procedure (see d. ferland and b. emery, précis de procédure civile du québec (6th ed. 2020), vol. 1, at no. 1-164). s. guillemard and s. menétrey conclude from this that, especially since the enactment of the new 2016 code of civil procedure, [translation] “a kind of dilution” of the power given to the parties to control the course of their case may be observed, in comparison with the “lead role” they had prior to the revision (comprendre la procédure civile québécoise (2nd ed. 2017), at no. 100). [99] similarly, the parties’ control over the course of their case does not allow them to override the judge’s discretion to ensure compliance with the rule of public order arising from the principle of open proceedings, nor does it allow them to exercise their powers at the expense of the existing and legitimate interests of third persons in seeking the application of that rule. this fundamental principle is affirmed in art. 11 ccp, which provides that anyone may attend court hearings and have access to court records. this principle also guarantees rights protected in ss. 3 and 23 of the quebec charter and s 2(b) of the canadian charter of rights and freedoms (see, eg,. lac d’amiante du québec ltée v 2858-0702 québec inc., 2001 scc 51, [2001] 2 scr. 743, at para. 62; globe and mail v. canada (attorney general), 2010 scc 41, [2010] 2 scr 592, at para. 87) as the court reiterated in canada (citizenship and immigration) v harkat, 2014 scc 37, [2014] 2 scr 33, the openness of court proceedings is an important hallmark of a free and democratic society such as ours (para. 24). [100] in the chapter entitled “public nature of procedure before the courts”, the legislature provides for two specific exceptions to this fundamental principle first, art. 11 para. 2 ccp states that an exception to this principle applies if the law provides for in camera proceedings (art. 15 ccp) or restricts access to court records (art. 16 ccp), which is notably the case in family matters (see ferland and emery, at nos. 1-108 and 1-109) in the absence of a constitutional challenge, these limits on openness in family matters may not be disturbed. second, art. 12 ccp provides for a so-called “judicial” exception by codifying the principles established by this court in sierra club, thereby giving the court a discretion to make an exception to the fundamental principle of open proceedings “if, in its opinion, public order . . . or the protection of substantial and legitimate interests [so] requires” (see commentaires de la ministre de la justice, art. 12). [101] important though it may be, the parties’ control over the course of their case does not extend so far as to allow them to directly or indirectly shield the content of their record from public scrutiny and thereby circumvent the fundamental principle of open proceedings as baudouin j.a explained in b (b.) v québec (procureur général), [1998] rjq 317 (ca), this principle is of public order and [translation] “the courts, the guardians of public order, have not only the right but the strict duty to intervene proprio motu to uphold it” (p 320). this is why parties cannot agree to take part in judicial proceedings anonymously or to have a record sealed. such an agreement could not bind the court and oblige it to disregard a rule of public order (see, eg,. rosei v. benesty, 2020 qccs 1795, at paras. 97-100 (canlii); marcovitz v. bruker, 2005 qcca 835, [2005] rjq 2482, at paras. 109-10, rev’d on other grounds, 2007 scc 54, [2007] 3 scr 607). a court seized of an application under art. 12 ccp to limit the openness of court proceedings must exercise its discretion in accordance with the analytical framework developed in dagenais, mentuck and sierra club, even if the application is unopposed (see, eg,. mentuck, at para. 38; sirius services conseils en technologie de l’information inc. v boisvert, 2017 qcca 518, at para. 4 (canlii); horic v. nepveu, 2016 qccs 3921, at para. 166 (canlii)). [102] the public, and in particular the news media, have the interest required to seek the application of the principle of open proceedings set out in art. 11 ccp, and thereby put the rights guaranteed by the quebec and canadian charters into play. as cory j noted in edmonton journal v alberta (attorney general), [1989] 2 scr. 1326, “members of the public have a right to information pertaining to public institutions and particularly the courts” (p 1339). as “surrogates for the public”, the media therefore play a vital role in the exercise of this right (p 1360, per wilson j., citing richmond newspapers, inc. v virginia, 448 u.s 555 (1980), at p 573) for example, in 3834310 canada inc. v. rc, 2004 canlii 4122 (que. ca), the court of appeal recognized that the interests of the press are affected by a judgment authorizing a party to institute a proceeding anonymously the appellant, a daily newspaper publisher, could avail itself of the rules on revocation of a judgment on application by a third person (art. 349 ccp), because the impugned judgment affected its interests with respect to the openness of proceedings and the public’s right to be informed (paras. 13, 18 and 33). [103] when parties decide to have recourse to the civil justice system, which is a public service, they do so knowing that members of the public may exercise their fundamental right to information about court proceedings. it is true that public scrutiny may encourage parties to prevent or resolve a dispute, including by withdrawing a case from the courts. however, this form of incentive alone cannot ipso facto supplant the principle of open proceedings when invoked in accordance with procedural rules while a proceeding is still under way on the other hand, where parties opt for a private resolution process, the principle of open proceedings does not apply and, as a general rule, the confidentiality “of anything said, written or done during the process” must be preserved (art. 4 ccp). [104] it is important to emphasize that the fundamental principle of open proceedings is not concerned solely with scrutiny of judicial action, as the respondents argue, but also extends to the subject matter of disputes. article 11 ccp expressly provides that “[a]nyone may . . . have access to court records and entries in the registers of the courts” in canadian broadcasting corp. v. the queen, 2011 scc 3, [2011] 1 scr 65, this court in fact explained that “[a]ccess to exhibits is a corollary to the open court principle” (para. 12). the media and members of the public do not have to justify their presence at court hearings or their desire to consult a court record. the burden of satisfying the criteria set out in dagenais, mentuck and sierra club lies on the party applying for an order to limit the principle of open proceedings (canadian broadcasting corp. v new brunswick (attorney general), [1996] 3 scr 480, at para. 71). [105] in short, it is true that the parties control the course of their case and that they may terminate a proceeding at any time. however, this power exists in a context where civil justice before the courts is, in principle, open and where the public and the media can seek the application of this fundamental principle during the course of a proceeding. b article 213 ccp:. discontinuance and its limits [106] the principle that the parties’ control over the course of their case may not be exercised contrary to the rules of public order and the existing and legitimate interests of third persons is also based on the jurisprudence relating specifically to the effect of a discontinuance, which is dealt with in the code as an incidental proceeding that terminates a civil action. [107] article 213 ccp provides that a plaintiff’s discontinuance of an application terminates the proceeding and “restores matters to their former state”. in principle, art. 213 ccp therefore entitles a party to discontinue a judicial application unilaterally at any time (see, eg,. georgiadis v. angelopoulos, 2008 qccs 6890, at para. 8 (canlii), per gascon j). the rules on discontinuance flow from the principle that the parties control the course of their case (art. 19 para. 3 ccp). to be set up against the other parties, the unilateral discontinuance need only be notified to those parties in accordance with art. 213. [108] this being the case, it is often said, and properly so, that the right of discontinuance is not absolute (see, eg,. classic fabrics corp. v. b. rawe gmbh & co., 2001 canlii 7221 (que ca), at para. 38) first of all, when a plaintiff discontinues an application, it does so only for itself; in the case of a joint application, art. 214 ccp provides that the other plaintiff may continue the proceeding. we would add that, as a general rule, a discontinuance has no effect on a cross-application made by the defendant the court of appeal explained this in 175809 canada inc. v. 2740478 canada inc., 2000 canlii 9254, before the recent reform of civil procedure: [translation] technically, “[d]iscontinuance replaces matters in the state in which they would have been had the suit to which it applies not been commenced” (art. 264 ccp). this is an outcome that cannot be achieved where the proceeding sought to be discontinued is itself a source of damages. while a litigant may be authorized to discontinue an action at any time, this procedure cannot be used to avoid a suit already brought against it. a claim for damages is analogous to a cross demand. it subsists notwithstanding the discontinuance of the principal action [emphasis added; para. 6.] [109] the principle that the parties control the course of their case is therefore subject to a qualification, developed and consistently applied by the courts: a discontinuance may not prejudice the rights of the other parties or of third persons, including the right to have an application filed prior to the discontinuance decided. in l’espérance v. atkins, [1956] br 62, pratte j explained this qualification by saying that a discontinuance involves a renunciation by the plaintiff of its own rights. as a result, it may not be effected to the prejudice of third persons’ rights: [translation] the word “discontinuance” conveys the idea of renouncing some right or withdrawing a case or proceeding. but because only one’s own rights can be renounced, the discontinuance of a proceeding that has given rise to rights for others should not be permitted: discontinuance may not be effected to the prejudice of third persons’ rights. [emphasis added; p 66.] [110] in graham-albulet v albulet, [1977] c.a 323, at p 324, the court of appeal confirmed the existence of this intrinsic limit on the effects of a discontinuance: [translation] discontinuance is therefore a renunciation of a right, an advantage, which presupposes that this right, this advantage, belongs to the person who purports to renounce it, for it is not possible, through a unilateral act, to renounce for others and deprive them of a right or advantage they possess. [emphasis added.] [111] this qualification of the effects of a discontinuance makes sense. discontinuance constitutes a [translation] “voluntary renunciation of a right, of a claim” (h. reid, with s. reid, dictionnaire de droit québécois et canadien (5th ed. 2015), at p 206, “désistement” (discontinuance)). the renunciation of a right allows the holder to relinquish the right if it is no longer wanted, which presupposes that the holder has full disposition of the right it intends to give up (see, generally, m. lamothe, la renonciation à l’exercice des droits et libertés garantis par les chartes (2007), at p 10). since this is a unilateral act by the renouncing party, only that party’s will is needed for the act to produce legal effects (lamothe, at p 10; d. lluelles and b. moore, droit des obligations (3rd ed. 2018), at no. 256). if art. 213 ccp seems to provide that a plaintiff is free to discontinue an application, this is because, in principle, [translation] “those who wish to relinquish a right can do so without the need for anyone’s approval, because they are prejudicing only themselves” (see, on the concept of renunciation, p. raynaud, “la renonciation à un droit: sa nature et son domaine en droit civil” (1936), 35 rtd civ. 763, at p 773). [112] this idea of renunciation shows that a discontinuance affects only the rights of the renouncing party, that is, the party that discontinues proceedings or waives a right or claim given that it is not possible to renounce the rights of others, the renouncing party [translation] “affects only its own legal sphere through its act, without having any effect on that of others” (lamothe, at p 11, fn. 47, citing g. grammatikas, théorie générale de la renonciation en droit civil (1971), at p 11; see also f. dreifuss-netter, les manifestations de volonté abdicatives (1985), at pp. 31 and 103) in other words, a party may validly renounce a right or claim, but this unilateral act does not affect the rights of third persons. a discontinuance may therefore be valid yet ineffective against the rights of third persons (barzelex inc. v. mecs. international inc (1989), 29 qac 63, at para. 22; constructions panthéon inc. v. clinique altermed inc., 2015 qcca 50, at paras. 4, 12 and 15-16 (canlii); taran furs (mtl) inc. v. tuac, local 501, 2005 canlii 11669 (que. sup. ct.), at paras. 30-32 and 59-60, per gascon j). [113] this principle has been applied on a number of occasions to recognize that courts remain seized of pending incidental applications — including cross-applications — for damages, for dismissal or for a declaration that a judicial application or pleading is abusive, even where the party bringing the initial application later discontinues it (see, eg, 175809 canada inc., at para. 6; constructions panthéon, at paras. 10-12; taran furs; 7006098 canada inc. v. sobeys canada inc., 2020 qccs 897, at paras. 37 and 43 (canlii)). in such a case, the discontinuance cannot adversely affect the right to argue an application before a court and to have it decided by the court. as justice louis-philippe pigeon explained, writing extra-judicially, “[e]ven in the realm of procedure, vested rights exist. a person who has instituted proceedings before a court has a vested right to the competence of the court” (drafting and interpreting legislation (1988), at p 79). [114] classic fabrics is an instructive example of this limit on the right of discontinuance the defendant had filed a motion to amend its defence and make a cross demand the plaintiff had then discontinued its claim and argued that it had terminated the proceeding. the court of appeal set aside the discontinuance and held, at paras. 38-39, that it could not adversely affect the defendant’s acquired right to argue its cross demand: [translation] the right of discontinuance is not absolute, however. a party may not use it to prejudice rights or advantages that another party may have acquired under the law or as a result of proceedings instituted. at the time the appellant served the respondent with its motion to amend its pleading in order to add a cross demand, the state of the proceedings allowed the appellant to present that motion. the appellant had an acquired right to argue its demand, which the respondent could not prejudice through a discontinuance of its action. [emphasis added.] (on the acquired right to argue an application, see also berenbaum v. berenbaum reichson, 2014 qcca 1630, at para. 15 (canlii); constructions panthéon, at para. 12.) [115] accordingly, the purpose or effect of a party’s discontinuance cannot be “to avoid a suit already brought against it” (175809 canada inc., at para. 6). in such circumstances, the court may take note of the discontinuance but should declare that it cannot cause the loss of rights claimed through a prior motion that is pending (see, eg,. taran furs, at paras. 30-32 and 59-60). [116] it is in fact entirely coherent that a discontinuance cannot defeat an application filed prior to it, because in principle, renunciation does not have retroactive effects. it [translation] “produces its effects from the moment it is made. in other words, the effects of renunciation are produced ex nunc and do not reach into the past” (grammatikas, at p 147). c article 108 ccp:. removal of exhibits and its limits [117] the second paragraph of art. 108 ccp provides that exhibits filed in the record must remain in the record until the end of the proceeding. they may be removed in two situations: (1) at the end of the proceeding, by the parties that filed them; and (2) with the consent of all the parties. [118] in the present case, the parties and the courts below attached great importance to the nature of this rule. upon reading the judgment under appeal, we note that two of the court of appeal judges concluded that art. 108 para. 2 ccp sets out a rule of an administrative nature (para. 42, per schrager ja; para. 54, per marcotte ja). it is true that the wording of this paragraph and the parliamentary debates preceding its enactment confirm that its purpose is to reduce the costs of the justice system (national assembly, “adoption du principe — projet de loi 24 — loi modifiant le code de procédure civile”, journal des débats, vol. 33, no. 30, 3rd sess., 34th leg., june 1, 1994, at pp. 1573-79, roger lefebvre, minister of justice). we take note of the differing reading of art. 108 ccp proposed by our colleague. however, for the purposes of this appeal, it is not necessary to decide this question even assuming that art. 108 para. 2 ccp sets out a substantive rule, the parties cannot make use of this provision in a manner that adversely affects acquired rights given the circumstances of the discontinuance, which occurred after mediaqmi filed its application to unseal and to access the superior court’s record. [119] it follows that, in the circumstances, the logic behind qualifying the principle that the parties control the course of the case also applies, by extension, to the removal of exhibits under art. 108 para. 2 ccp. if the discontinuance of a proceeding cannot be relied on at the expense of third persons’ existing legitimate interests or contrary to the rules of public order, including the openness of court proceedings, then parties cannot avail themselves of art. 108 para. 2 ccp in order to remove exhibits from the record after an application has been made under art. 11 ccp. as art. 19 ccp provides, the control that the parties have over the course of their case must be exercised in compliance with the principles of civil procedure. [120] as the cases considered above show, parties may not infringe rules of public order like that of the openness of proceedings, even on consent (see, eg,. marcovitz). they certainly do not “control the course of their case” to such an extent that they can circumvent a rule of public order, including through the actions they can take with respect to exhibits under art. 108 para. 2 ccp. the judicial process cannot condone a form of private justice in which parties decide between themselves how a court proceeding will be conducted without regard for the open court principle. in short, the parties cannot displace a rule of public order by mutual consent (see, eg,. berenbaum, at para. 16, citing entreprises de béton fern leclerc ltée v bourassa, [1990] rdj 558 (ca), at p 561). [121] the right to remove exhibits that are in a court record with the consent of all parties must also be interpreted in the same way as the unilateral right to discontinue an application: it cannot adversely affect the existing and legitimate interests of third persons for example, the superior court recognized in a family law case that a discontinuance by the plaintiff that adversely affected a child’s rights could be set aside even though the defendant had consented to it (droit de la famille — 092038, 2009 qccs 3822, [2009] rdf 646, at paras. 14-15 and 34). in other words, because it is not possible to renounce the rights of others, a discontinuance, whether unilateral or by mutual consent, cannot defeat a third person’s rights. [122] the reason why art. 108 para. 2 ccp makes the right to remove exhibits in the court record subject to the consent of all the parties is that, in principle, the removal of exhibits affects only the parties, as it may deprive them of relevant exhibits in support of their arguments. where only the parties have a legitimate interest in the exhibits, their decision to remove them by mutual consent does not prejudice anyone. in such a case, they have complete freedom to remove the exhibits from the record, including in order to protect the confidentiality of the documents involved (sirius, at para. 4). the purpose of the consent requirement in this situation is to ensure that the removal of exhibits does not have prejudicial effects. in fact, as long as the unilateral removal of an exhibit is not prejudicial to the other parties, this breach of the obligation to obtain the consent of all the parties cannot be fatal (wetherall v. macdonald (1903), 9 r de j 381 (sup. ct.), at p 383). [123] the situation is entirely different where the removal of exhibits, even by mutual consent, infringes a rule of public order or adversely affects an existing and legitimate interest of a third person if a party’s discontinuance cannot unilaterally extinguish the right of others to advance their applications, it would be inconsistent if parties could, even by mutual consent, “renounce for others and deprive them of a right or advantage they possess” (graham-albulet, at p 324). [124] moreover, the court of appeal has recognized that the principle that procedural acts may not prejudice the rights of a party or a third person who has already brought an application also obtains where a pleading is withdrawn or amended under art. 206 ccp (9163-5771 québec inc. v. bonifier inc., 2017 qcca 1316, at para. 43 (canlii)) this principle running through the code of civil procedure therefore clarifies the scope of the right to remove exhibits by mutual consent provided for in art. 108 para. 2 ccp. [125] applying the principle that the parties control the course of their case as if it were an end in itself would be contrary to quebec jurisprudence and to the general scheme of the code of civil procedure. it would also conflict with the well-established principle that the code’s provisions must be interpreted in harmony with the quebec charter and the general principles of law (preliminary provision of the ccp;. lac d’amiante, at para. 40; globe and mail, at para. 45). to do so would be to disregard the principle that the parties’ control over the course of their case is subject to limits and that, in exercising it, parties must “comply with the principles, objectives and rules of procedure” (art. 19 para. 1 ccp), including the rules of public order and the existing and legitimate interests of third persons. iv application of the law to the facts [126] it should be noted at the outset that mediaqmi’s application was brought in a case in which a judge had issued an order limiting the principle of open court proceedings as soon as the legal action was filed. on the application of the respondent ciusss, a judge had rendered a discretionary norwich order on an ex parte basis and had ordered the sealing of the judicial application and of the exhibits filed to support it. we are therefore not in a purely private sphere of the case; the justice system was engaged, and a judge was asked, on the application of the respondent ciusss, to shield the record from public view the appellant’s application under art. 11 ccp to determine whether the exception to the principle of open proceedings had been adhered to should, from the start, be regarded as prima facie legitimate. [127] it is clear that the position of the ciusss and mr. kamel is premised in part on the idea that the character of private dispute resolution processes must be respected and that, on the basis of the principle that the parties control the course of their case, they can therefore resolve their private dispute out of public view. they are not entirely wrong on this point. because the parties control the course of their case, they can, in principle, agree to terminate their litigation through a negotiated discontinuance or otherwise and, in many cases, to remove their exhibits but this freedom to withdraw from the court process once the dispute has arisen, as in this case, can produce effects only in relation to the principal litigation. [128] here, the court record was sealed from the outset, including the exhibits filed by the respondent ciusss in support of its application. from the moment the appellant mediaqmi applied to unseal the record and access the exhibits, a new proceeding began. that second proceeding went beyond the strictly private interests of the parties to the principal litigation: it was of concern to the public and concerned the legitimacy of the judicial institution and the functioning of the justice system itself. the discontinuance filed following the application brought under art. 11 ccp could not defeat that new proceeding, which was separate from the principal litigation and related to the proper functioning of the judicial institution, whose legitimacy depends on its openness and in part, as we know, on media scrutiny. once the appellant applied to unseal the record and access the exhibits, these exhibits were subject to that new proceeding and, it must be concluded, the parties no longer had complete control over them. [129] mediaqmi’s application for access to exhibits was notably based on art. 11 ccp, which gives it the right to “have access to court records” although the application was called “motion to unseal”, its express purpose was to gain access to the exhibits. it is well established that the name of a juridical act is not what determines or defines its nature (ditomene v. syndicat des enseignants du cégep de l’outaouais (seco), 2012 qcca 1296, at para. 43 (canlii)). mediaqmi was seeking access to exhibits that were in fact in the court record at the time. [130] with an application for access to exhibits before it, validly made under art. 11 ccp, the court had to exercise the discretion conferred on it by art. 12 ccp. because of the respondents’ opposition. mediaqmi was thus seeking to play its role as a “surrogat[e] for the public” and to inform readers of what was taking place in the courts (edmonton journal, at pp. 1339-40 and 1360), a crucial role in a context where it was alleged that fraud had been committed within a public body responsible for ensuring the proper functioning of regional health institutions the public has a legitimate interest in obtaining information about a court proceeding involving allegations of misappropriation of public funds by a manager working for that public body. [131] had the ciusss not filed a discontinuance, the superior court would have had to decide mediaqmi’s application and exercise its discretion by applying the analytical framework established in dagenais, mentuck and sierra club the discontinuance could not be set up against mediaqmi to deprive it of its right to argue its motion and, if the court had granted that application, of its right to have access to the exhibits in the record. that right arose when its application was filed, which was several weeks before the ciusss’s discontinuance mediaqmi was therefore “entitle[d] to the court’s pronouncement on the legal issues thus raised that even [a] desistment cannot now remove” (byer v. québec (inspecteur général des institutions financières), [2000] rl 615 (sup. ct.), at p 623; see also sobeys, at para. 37). [132] accordingly, the court retained its jurisdiction under art. 11 ccp to decide mediaqmi’s application the appellant had “an acquired right to argue its demand, which the respondent could not prejudice through a discontinuance of its action” (classic fabrics, at para. 39). the principle that the parties control the course of the case could not adversely affect mediaqmi’s existing and legitimate interests in seeking the application of a rule of public order like the openness of proceedings. [133] we also note that mediaqmi’s motion was originally supposed to be argued on april 5, 2017, prior to the ciusss’s discontinuance the hearing was postponed at the request of the ciusss if the hearing had been held on that date, mediaqmi’s application for access to exhibits would have been subject to the discretion of the superior court, which would have had to apply the analytical framework developed in dagenais, mentuck and sierra club. it would be incongruous, to say the least, to conclude that the appellant could lose its right to argue its application solely because of the date on which the hearing of that application was scheduled. the analytical framework established in dagenais, mentuck and sierra club would clearly have been applicable if the hearing had been held prior to the discontinuance. this latter procedure could not adversely affect the right to have an application decided when that application had already been filed. [134] it is useful to recall that norwich orders can be made in camera and ex parte and may be the subject of a sealing order, as was the case here (see, eg,. fers et métaux américains, sec v. picard, 2013 qcca 2255, at paras. 3 and 7 (canlii); m. piché-messier and a. bussières mcnicoll, “développements récents en matière de propriété intellectuelle dans le cadre des ordonnances de type anton piller, mareva et norwich”, in service de la qualité de la profession du barreau du québec, vol. 464, développements récents en droit de la propriété intellectuelle (2019), 89, at pp. 127 and 129). if a discontinuance could defeat an application for access to a record, then norwich orders could be obtained in a justice system that would, in many respects, be private the principle of open proceedings could thus be circumvented, despite the exceptional and draconian nature of such orders. [135] contrary to the submission of the respondent ciusss, mediaqmi was therefore not required to bring an application to set aside the discontinuance in order to be heard. although the discontinuance was valid and produced its effects in relation to the ciusss and mr. kamel, it could not extinguish the rights asserted by mediaqmi through an application filed earlier in other words, the discontinuance quite simply could not be set up against mediaqmi in any event, counsel for mediaqmi specifically objected to the removal of the exhibits at the hearing and stated that the discontinuance had no effect on its application for access to exhibits because its right to have its application decided had “crystallized”. [136] the ciusss in fact concedes that the court still had jurisdiction to decide mediaqmi’s motion to unseal even though the proceeding had ended as a result of the discontinuance. it also acknowledges that a discontinuance has no impact on the right to argue a prior application. it follows that the ciusss has implicitly confirmed that the discontinuance could not adversely affect mediaqmi’s right to have the merits of its application — which is, among other things, an application for access to exhibits — decided, which the superior court judge failed to do the superior court therefore erred in law in concluding that the discontinuance could be set up against mediaqmi and in allowing the ciusss to remove the exhibits. [137] the ciusss argues that the purpose of mediaqmi’s motion was not to have access to the exhibits, but solely to have the court record unsealed, and that the superior court judge granted its motion. this argument is without merit: the purpose of a motion to unseal is to gain access to the content of the record as it stood at the time the motion was filed. in other words, mediaqmi was applying to unseal the superior court’s record in order to have access to the exhibits that were in it at the time. in any event, the motion specifically stated that mediaqmi was seeking access to the exhibits, and counsel for the appellant reiterated that request at the hearing on april 25, 2017. the superior court did not deal with it. [138] the respondents submit that the discontinuance could produce its effects against the appellant’s application given that the appellant was not a party to the principal litigation. it is clear from art. 11 ccp and the applicable jurisprudence that the appellant’s status has no bearing on this appeal. a party that files a discontinuance renounces rights held by that party, as discontinuance is, as we have seen, a unilateral act given that it is not possible to renounce the rights of others, it would be inappropriate if the principle that the parties control the course of their case could adversely affect rights not held by the renouncing party simply because the rights in question are those of third persons rather than those of a party. [139] pratte j explained in atkins that “discontinuance may not be effected to the prejudice of third persons’ rights” (p 66). this is all the more true given the issue of public order raised by the application in this case. it has consistently been held that this rule applies both to the parties’ rights and to the existing and legitimate rights of third persons (barzelex, at para. 18; georgiadis, at para. 9; banque commerciale italienne du canada v. magas development corp., [1992] rdi 246 (que. sup. ct.), at p 248; 9163-5771 québec inc., at para. 33; portnoff (syndic de), [2000] rjq 1290 (sup. ct.); see also ferland and emery, at nos. 1-1702 and 1-1703). if the media have an interest in applying for the revocation of a judgment that is contrary to the principle of open proceedings (3834310 canada inc., at paras. 13, 18 and 33), then a fortiori they have an interest in obtaining a decision on an application for access to exhibits that was filed prior to a discontinuance, even if they are “third persons” in relation to the proceeding. [140] our conclusion that the superior court judge should have decided mediaqmi’s application is based on the fact that it came before him prior to the ciusss’s discontinuance. in contrast, the discontinuance would have produced its full effects against an application filed subsequently. if mediaqmi had filed its application after the ciusss’s discontinuance and had sought access to the exhibits when they were no longer in the record, its appeal would have failed on that basis unless it challenged the constitutionality of art. 108 ccp. like our colleague, we therefore do not accept the appellant’s argument that the principle of open proceedings protects the right to have applications for access to exhibits decided years after a proceeding has ended and the exhibits have been removed. [141] in short, the ciusss and mr. kamel cannot, even by mutual consent, prevent mediaqmi from having its application for access to exhibits decided, circumvent the principle of open proceedings and extinguish a right not held by them. with respect for those who hold the contrary view, we believe that to conclude otherwise would allow parties to remove their exhibits, even in the course of a proceeding, despite the fact that a prior application has been made this could undermine the fundamental principle of public access to court records affirmed by the legislature in art. 11 ccp. in the circumstances of this case, art. 108 ccp cannot have this effect. v conclusion [142] for the foregoing reasons, the appeal should be allowed with costs. [143] however, we cannot grant the appellant’s application for access to exhibits, because the respondents have not had an opportunity to present their arguments on this point. moreover, the exhibits are not in the court record and it is thus impossible to apply the analytical framework developed in dagenais, mentuck and sierra club in the abstract. we agree with marcotte ja that the case must be remanded to the superior court so that it can decide the application for access to the exhibits in accordance with the applicable law and make the orders it considers necessary, given that, in our respectful view, the superior court judge erred in allowing the ciusss to remove the exhibits from the record. appendix — relevant statutory provisions charter of human rights and freedoms, cqlr, c. c-12: 23. every person has a right to a full and equal, public and fair hearing by an independent and impartial tribunal, for the determination of his rights and obligations or of the merits of any charge brought against him. the tribunal may decide to sit in camera, however, in the interests of morality or public order. code of civil procedure, cqlr, c. c-25: 83. prior to the end of the proceedings, filed exhibits cannot be taken out of the record, except with the consent of the opposite party or the authorization of the clerk, and upon giving a receipt; the parties may, however, obtain copies from the clerk. 331.9 once proceedings are terminated, the parties must retrieve the exhibits they have filed, failing which the exhibits are destroyed by the clerk one year after the date of the judgment or of the proceeding terminating the proceedings, unless the chief justice or chief judge decides otherwise. where a party, on whatever grounds, seeks a remedy against a judgment, the exhibits that have not been retrieved by the parties are destroyed by the clerk one year after the date of the final judgment or of the proceeding terminating the proceedings, unless the chief justice or chief judge decides otherwise. the child support determination forms attached to the judgment under article 825.13 are excepted from the above rules. code of civil procedure, cqlr, c. c-25.01: preliminary provision this code establishes the principles of civil justice and, together with the civil code and in harmony with the charter of human rights and freedoms (chapter c-12) and the general principles of law, governs procedure applicable to private dispute prevention and resolution processes when not otherwise determined by the parties, procedure before the courts as well as procedure for the execution of judgments and for judicial sales. this code is designed to provide, in the public interest, means to prevent and resolve disputes and avoid litigation through appropriate, efficient and fair-minded processes that encourage the persons involved to play an active role it is also designed to ensure the accessibility, quality and promptness of civil justice, the fair, simple, proportionate and economical application of procedural rules, the exercise of the parties’ rights in a spirit of co-operation and balance, and respect for those involved in the administration of justice. this code must be interpreted and applied as a whole, in keeping with civil law tradition. the rules it sets out are to be interpreted in the light of the specific provisions it contains or of those of the law, and in the matters it deals with, the code compensates for the silence of the other laws if the context so admits. 11. civil justice administered by the courts is public. anyone may attend court hearings wherever they are held, and have access to court records and entries in the registers of the courts. an exception to this principle applies if the law provides for in camera proceedings or restricts access to the court records or to certain documents filed in a court record. exceptions to the principle of open proceedings set out in this chapter apply despite section 23 of the charter of human rights and freedoms (chapter c-12). 16. in family matters or in matters regarding a change of designation of sex as it appears in a minor child’s act of birth, access to the court records is restricted in all other matters, especially those relating to personal integrity or capacity, access to documents pertaining to a person’s health or psychosocial situation is restricted if they have been filed in a sealed envelope. access-restricted records or documents may only be consulted or copied by the parties, by their representatives, by lawyers and notaries, by persons designated by law, and by any person, including journalists, who has been authorized by the court after proving a legitimate interest, subject to the access conditions and procedure determined by the court. in adoption matters, access to the court records is restricted to the parties, their representatives and any person having proven a legitimate interest, and is subject to the authorization of the court and to the conditions and procedure it determines. the minister of justice is considered, by virtue of office, to have a legitimate interest to access records or documents for research, reform or procedure evaluation purposes. no person who has had access to a record in a family matter or in a matter regarding a change of designation of sex as it appears in a minor child’s act of birth may disclose or circulate any information that would allow a party or a child whose interests are at stake in a proceeding to be identified, unless authorized by the court or by law or unless the disclosure or circulation of the information is necessary for the purpose of applying a law. 19. subject to the duty of the courts to ensure proper case management and the orderly conduct of proceedings, the parties control the course of their case insofar as they comply with the principles, objectives and rules of procedure and the prescribed time limits. they must be careful to confine the case to what is necessary to resolve the dispute, and must refrain from acting with the intent to cause prejudice to another person or behaving in an excessive or unreasonable manner, contrary to the requirements of good faith. they may, at any stage of the proceeding, without necessarily stopping its progress, agree to settle their dispute through a private dispute prevention and resolution process or judicial conciliation; they may also otherwise terminate the proceeding at any time. 20. the parties are duty-bound to co-operate and, in particular, to keep one another informed at all times of the facts and particulars conducive to a fair debate and make sure that relevant evidence is preserved. they must, among other things, at the time prescribed by this code or determined in the case protocol, inform one another of the facts on which their contentions are based and of the evidence they intend to produce. 108. the parties and the lawyers, or in non-contentious proceedings, the notaries representing the parties, must see to it that exhibits and other documents that contain identifying particulars generally held to be confidential are filed in a form that protects the confidentiality of the information. any document or real evidence that is filed in the record as an exhibit must remain in the record until the end of the proceeding, unless all the parties consent to its being removed. once the proceeding has ended, the parties must retrieve the exhibits they have filed; otherwise, the court clerk may destroy them one year after the date on which the judgment becomes final or the date of the pleading terminating the proceeding. in either case, the chief justice or chief judge, if of the opinion that the exhibits can still be useful, may stay their destruction. however, in reviewable or reassessable matters and, in non-contentious cases, notices, certificates, minutes, inventories, medical and psychosocial evidence, affidavits, statements, declarations and documents made enforceable by a judgment, including any child support determination form attached to a judgment, cannot be removed from the record or destroyed. 213. discontinuance by the plaintiff of the whole of a judicial application terminates the proceeding on the notification of a notice of discontinuance to the other parties and its filing with the court office. it restores matters to their former state, and is effective immediately if it takes place before the court and in the presence of the parties. the legal costs are borne by the plaintiff, subject to an agreement between the parties or a decision of the court. appeal dismissed with costs, wagner c.j and rowe, martin and kasirer jj. dissenting. montréal. solicitors for the respondent centre intégré universitaire de santé et de services sociaux de l’ouest-de-l’île-de-montréal: lavery, de billy, montréal. québec: gowling wlg (canada), montréal. presse inc and ad idem/canadian media lawyer association: fasken martineau dumoulin, montréal.