Full Opinion

NOTICE: All slip opinions and orders are subject to formal revision and are superseded by the advance sheets and bound volumes of the Official Reports. If you find a typographical error or other formal error, please notify the Reporter of Decisions, Supreme Judicial Court, John Adams Courthouse, 1 Pemberton Square, Suite 2500, Boston, MA, 02108-1750; (617) 557- 1030; SJCReporter@sjc.state.ma.us SJC-13899 COMMONWEALTH vs. WALTER ESTERAS. Middlesex. September 11, 2026. - December 1, 2026. Present: Budd, C.J., Gaziano, Kafker, Wendlandt, Georges, Dewar, & Wolohojian, JJ. Constitutional Law, Sex offender, Harmless error. Sex Offender. Practice, Civil, Sex offender, Findings by judge. Jury and Jurors. Error, Harmless. Evidence, Sex offender, Expert opinion. Witness, Expert. Civil action commenced in the Superior Court Department on April 3, 2024. The case was tried before Janice W. Howe, J. The Supreme Judicial Court granted an application for direct appellate review. Ruth Greenberg for the defendant. Jessica Langsam, Assistant District Attorney (Ryan J. Rall, Assistant District Attorney, with her) for the Commonwealth. Matthew J. Koes, Committee for Public Counsel Services, & Elizabeth Ann Billowitz, for Committee for Public Counsel Services & another, amici curiae, submitted a brief. Daniel K. Gelb & Michaela B. Dunn, for National Association of Criminal Defense Lawyers & another, amici curiae, submitted a brief. 2 GEORGES, J. A person whose sexual dangerousness a jury must decide should not be tried in shackles unless the judge first finds a particularized need for them. The concern is straightforward: restraints imposed for security may themselves suggest an answer to the very question the jury have been convened to decide. In criminal trials, we have long required judges to make an individualized determination before permitting a defendant to appear before a jury in physical restraints. See Commonwealth v. Brown, 364 Mass. 471, 479-480 (1973). We consider here whether art. 12 of the Massachusetts Declaration of Rights requires comparable protections in sexually dangerous person (SDP) trials under G. L. c. 123A. We conclude that it does. Although an SDP trial is civil in nature, the liberty interest at stake and the risk that restraints will prejudice the jury's determination require the trial judge, before restraints are used, to decide independently whether they are necessary and to explain that decision on the record. Here, the defendant, Walter Esteras, remained in shackles throughout his jury trial without such a determination. The judge instead deferred to court security personnel and a general practice of restraining persons facing SDP trials. Because the Commonwealth has not proved that the constitutional error was 3 harmless beyond a reasonable doubt, we vacate the judgment, set aside the verdict, and remand for further proceedings.1 Background. 1. Facts. a. Shackling order. On June 13, 2025, the process of jury empanelment began for a trial to determine whether the defendant was subject to civil commitment as an SDP pursuant to G. L. c. 123A. That day, the defendant appeared in the court room in leg shackles and handcuffs. Before the first panel of venirepersons entered the court room, the trial judge informed the parties that, in keeping with the court house's "security policy," the defendant would remain restrained during the trial. Defense counsel twice objected, arguing that appearing shackled before the jury would be unduly prejudicial to the defendant and violate his constitutional rights. The judge acknowledged but overruled the objections. In so ruling, the judge "deferr[ed]" to security personnel, indicating that she was "not the person to decide security," and relied on an observation from court officers that restraints were routine in SDP trials. The judge offered to give the jury a curative instruction. Concerned that an instruction would highlight the restraints, defense counsel declined. The judge 1 We acknowledge the amicus briefs submitted in support of the defendant by the Committee for Public Counsel Services and the Massachusetts Association of Criminal Defense Lawyers, and by the National Association of Criminal Defense Lawyers and the Boston Bar Association. 4 then suggested concealing the handcuffs by having the defendant pull down his sweater sleeves, and by seating him between defense counsel. After the first venire panel left the court room, defense counsel renewed the request to remove the restraints on the defendant. Defense counsel noted several reasons for doing so. First, the venirepersons had been looking at the defendant's wrists and legs. Second, the defendant was inhibited from turning around to greet the jury because it would draw attention to the fact that he was in shackles and handcuffs. And third, the defendant's record did not indicate a risk of flight or violence. After again consulting with a court officer, the judge adopted the officer's recommendation to remove the handcuffs but ruled that the defendant would remain shackled, reasoning that the shackles were concealed by the "solid" counsel's table. Defense counsel again objected. At the start of the second day of empanelment, defense counsel renewed his motion for reconsideration of the shackling order. Defense counsel argued that the shackles would be prejudicial, affecting the jury's partiality and interfering with the defendant's ability to communicate with defense counsel and to participate in sidebar conversations. Counsel also represented that the shackles were visible to venirepersons seated in the first four rows to his left and the first two rows 5 to his right. The judge declined to remove the shackles, explaining that sidebar conversations could be accommodated by clearing the jury from the court room, and noting that the defendant was seated between defense counsel, with his hands freed, and with his shackles concealed beneath a wooden table with "solid sides." Later that day, before the commencement of individual voir dire, defense counsel stated that he "want[ed] the record to reflect" that the venirepersons entering the court room from behind the defendant could "see the shackles when they [came] in." He also sought to make an "offer of proof" that the defendant's shackles were visible, noting that, based on where a court officer was standing at that moment, the court officer could "look down to see [the defendant's] feet." The judge replied by noting that jurors would understand, based on the parties' statement of agreed facts that was to be read to the jury, that the defendant was currently detained at the Massachusetts Treatment Center (treatment center). The judge then concluded that, having conferred with a court officer "multiple times" on the proper protocol, and "given the circumstances and the security issues," the defendant would remain shackled. The issue was not revisited, and the defendant's legs remained shackled throughout his trial. 6 b. Trial evidence. i. Prior offenses. At trial, the following evidence of the defendant's prior sexual offenses was presented to the jury. In 2010, the State police seized over 200 images and more than seventy files containing prepubescent child pornography from the defendant's laptop computer. The defendant pleaded guilty to multiple counts of possession and dissemination of child pornography in 2013. While on probation for the child pornography offenses, the defendant sexually abused his live-in girlfriend's daughter, who was twelve to thirteen years old at the time, for six weeks in 2015. In 2017, the defendant pleaded guilty to two counts of rape of a child with force and two counts of indecent assault and battery on a child under fourteen. He was sentenced to a term of imprisonment, followed by probation. The defendant was released on parole in 2024 but was quickly found in violation of a condition limiting his Internet access. Specifically, the defendant had accessed a cell phone's Internet browser to view images of, among other things, prepubescent girls clad in bikinis and lingerie. As a result, the defendant was returned to State prison to serve the remainder of his sentence for the 2015 offenses. ii. Expert testimony. In addition to learning about the defendant's prior offenses, the jury also heard from several expert witnesses. Two qualified examiners appointed by the 7 court, Dr. Kaitlyn Peretti and Dr. Katrina Colistra, testified to their conflicting conclusions whether the defendant met the criteria to be an SDP. Although both experts diagnosed the defendant with a pedophilic disorder, they disagreed about whether the defendant's pedophilic disorder was a "mental abnormality" that made him a "menace" to the public health and safety.2 They also disagreed about the defendant's likelihood of reoffending. Peretti concluded that the defendant was an SDP. Based on the defendant's viewing of child pornography, his 2015 contact offense with his girlfriend's daughter, and his 2024 parole violation, Peretti opined that the defendant met all the criteria for a pedophilic disorder, including a recurrent, intense sexual interest in prepubescent children. In her view, this disorder satisfied the legal criteria for a mental abnormality that predisposed him to commit future contact or noncontact sexual offenses. In determining that the defendant was likely to reoffend, Peretti considered the presence of both 2 As relevant here, an SDP is a person convicted of a sexual offense who suffers from a "mental abnormality" that "makes the person likely to engage in sexual offenses if not confined to a secure facility." G. L. c. 123A, § 1. "[M]ental abnormality," in turn, is a condition that affects a person's "emotional or volitional capacity" by predisposing him to commit "criminal sexual acts" to such a degree that he is "a menace to the health and safety of other persons." Id. 8 static (historical) risk factors3 and dynamic risk factors that could change over time -- including the defendant's deviant sexual interest in prepubescent females and his sexual preoccupation. She also considered the absence of any protective factors to mitigate the risk of reoffense, noting that the defendant had not progressed in sex offender treatment to develop skills to manage his risks. Colistra concluded that the defendant did not meet the legal criteria to be considered an SDP. She based her determination on the totality of the defendant's offenses, which indicated that the defendant, while suffering from pedophilic disorder, did not meet the legal criteria for having a mental abnormality. In her view, the defendant's 2015 contact offense was driven by pubescence or postpubescence interest, rather than by a prepubescence one, as Peretti had suggested. She reasoned that the victim of that offense, although around the age of thirteen, was not prepubescent, because the records established that she had developed secondary sex characteristics. 3 Peretti used the Static-99R risk assessment tool, which is "an actuarial tool, designed to predict the recidivism risk of sexual offenses in adult male sex offenders who have been convicted of at least one sexual offense." Commonwealth v. George, 477 Mass. 331, 335 n.2 (2017). She scored the defendant a five, which she testified corresponds to sexual recidivism rates of 12.8 percent at five years, 18.8 percent at ten years, and 23.4 percent at twenty years. 9 Colistra also opined that the defendant was not a menace to the public because he had not repeatedly engaged in contact behaviors or used noncontact behaviors to engage in contact offending. She further testified to her belief that the defendant now recognized that viewing child pornography was wrong and that the victim of the 2015 offense had no capacity to consent. In her view, the defendant's viewing of child pornography, a noncontact offense, was unrelated to his later contact offense with the pubescent victim. Finally, Colistra concluded that the defendant was not likely to reoffend. She reasoned that because the contact offense occurred within the defendant's home in a familial context where the record indicated that the defendant had a kind of paternal authority over the victim, the offense was opportunistic and, therefore, the defendant posed a lower risk to reoffend. Additionally, she scored the defendant's recidivism risk lower based on static risk factors,4 believed that less dynamic risk factors were present, and asserted that several protective factors were implicated, including the fact that, if released, the defendant would be on supervised 4 Like Peretti, Colistra also used the Static-99R risk assessment tool. However, Colistra scored the defendant a four, which she testified corresponds to a sexual recidivism rate of 9.2 percent at five years and 13.9 percent at ten years. 10 probation for three years with conditions specific to sex offenders. Each party called its own experts. The Commonwealth presented testimony from a forensic psychologist, Dr. Gregg Belle, who reviewed the other experts' reports and concluded that the defendant was an SDP. Belle concluded that the defendant was attracted to both prepubescent and pubescent children, while conceding that the defendant's contact offense in 2015 was not pedophilic because the daughter appeared to be pubescent. Belle believed that the defendant continued to demonstrate an inability to understand the underlying causes of his offenses and to manage his deviant sexual interest, which indicated that his progress in treatment had not reduced his risk of recidivism. The defendant retained two clinical psychologists, Dr. Kerry Nelligan and Dr. Leonard Bard, who reviewed all relevant records and conducted interviews with the defendant. Both experts concluded that the defendant did not meet the legal criteria for an SDP, including a mental abnormality. Nelligan further concluded that the defendant did not meet the clinical diagnostic criteria for pedophilic disorder, reasoning that the defendant's primary sexual interest was in pubescent minors, that any sexual interest in prepubescent children did not persist for the clinically required six months, and that, while 11 he was on parole, the defendant inadvertently downloaded the images depicting prepubescent children while searching for pornography involving pubescent minors. Bard similarly concluded that the defendant's 2015 offense was not motivated by pedophilic interests. Bard noted that the prepubescent images found on the defendant's cell phone while he was on parole were not pornographic and were interspersed among numerous images depicting teenagers and adults. Bard also emphasized the defendant's continued voluntary participation in treatment groups and additional classes, which demonstrated the defendant's willingness to take responsibility for his actions. 2. Procedural history. On April 3, 2024, the district attorney for the northern district filed a petition in the Superior Court seeking civil commitment of the defendant to the treatment center as an SDP pursuant to G. L. c. 123A, § 12 (b). A Superior Court judge ordered the Department of Correction to hold the defendant at the treatment center in Bridgewater pending a hearing and determination of probable cause pursuant to G. L. c. 123A, § 12 (e). After a probable cause hearing, a different Superior Court judge found probable cause that the defendant was an SDP and ordered him temporarily committed to the treatment center pending examination and diagnosis pursuant to G. L. c. 123A, § 13 (a). 12 After the Commonwealth petitioned for trial, a jury trial was held in June 2025. The jury found beyond a reasonable doubt that the defendant was an SDP. The defendant was accordingly ordered to be committed to the treatment center for a period of from one day to life, pursuant to G. L. c. 123A, § 14 (d). The defendant appealed, and this court granted his application for direct appellate review. Discussion. On appeal, the defendant argues that the trial judge's decision to shackle him during his SDP trial, without any individualized findings as to the necessity of the shackling, was constitutional error.5 The Commonwealth responds that the criminal standard requiring individualized findings does not apply in SDP proceedings, that the claim is unpreserved, and that any error was harmless. We agree with the defendant that the judge erred, and we conclude that the error was not harmless. 1. Restraints in criminal trials. We begin with the practice of shackling in the criminal context. This court and the United States Supreme Court have restricted the use of physical restraints on defendants during criminal trials. See 5 The defendant also argues that the judge erred in declining to give a requested supplemental instruction in response to a juror's questions about what conduct counts as a "reoffense" for purposes of the likelihood of reoffending. Because we vacate the judgment on the shackling issue, we do not reach this argument. 13 Deck v. Missouri, 544 U.S. 622, 629 (2005); Brown, 364 Mass. at 475. In Brown, we stated that shackling and other unusual security measures are "to be avoided if possible," as "[t]hese displays tend to create prejudice in the minds of the jury by suggesting that a defendant is a bad and dangerous person whose guilt may be virtually assumed; they may interfere with a defendant's thought processes and ease of communication with counsel; [and] intrinsically they give affront to the dignity of the trial process." Brown, supra. Accordingly, we prescribed the following procedure: parties and the custodial authority should first attempt to agree in advance on any unusual security measures without judicial involvement. Id. at 479. Absent such agreement and before a defendant may be tried in physical restraints, the judge must weigh the relevant factors6 to determine in his or her discretion whether safeguards are necessary under the circumstances of the case to prevent the defendant's escape, to minimize the danger of harm, or to maintain order in the court room. Id. at 475-476, 479. If the judge determines that such Relevant factors include, but are not limited to, "[the] 6 seriousness of the present charge, the [defendant's] character, his past record, past escapes or attempted escapes, evidence of a present plan to escape, threats of harm to others or to cause a disturbance, self-destructive tendency, risk of mob violence or of attempted revenge by others, [and] possibility of rescue by [other] offenders still at large." Brown, 364 Mass. at 479 n.18. 14 precautions are necessary, the judge should "try to find the least drastic and conspicuous measures reasonably available that will meet the particular need." Id. at 479. The judge should also state the reasons for his or her determination on the record, in the presence of the defendant and counsel but outside the presence of any venirepersons or jury, and afford counsel an opportunity to object and resolve relevant factual issues. Id. Finally, if the defendant is restrained, the judge should "assist the jury with an emphatic charge warning against bias and against inferring guilt" from the security precautions taken. Id. at 479-480. More than three decades after Brown, the Supreme Court recognized in Deck, 544 U.S. at 628-629, that, as a matter of due process, the Fifth and Fourteenth Amendments to the United States Constitution "prohibit the use of physical restraints visible to the jury absent a trial court determination, in the exercise of its discretion, that they are justified by a [S]tate interest" -- "such as physical security, escape prevention, or courtroom decorum" -- that is "specific to a particular trial."7 7 Brown did not identify the source of its rule, referring instead to the guarantee of a "[f]air trial by an impartial jury." Brown, 364 Mass. at 476. We need not decide whether Brown rested on constitutional or common-law grounds, because our holding rests on the art. 12 balancing analysis set out below. 15 The Court explained that the rule protects the presumption of innocence, the defendant's ability to participate in his own defense and communicate with his lawyer, and the dignity and decorum of judicial proceedings. Id. at 630-632. The Court applied this rule even at the penalty phase of a capital trial, after conviction, where the presumption of innocence no longer applied. Id. at 632-633. The Court reasoned that the appearance of the defendant in shackles "implies to a jury, as a matter of common sense, that court authorities consider the offender a danger," which bears on the jury's assessment of the defendant's future dangerousness. Id. at 633. Where visible restraints are used without adequate justification, the Court further held that "the defendant need not demonstrate actual prejudice to make out a due process violation." Id. at 635. Instead, the State must "prove beyond a reasonable doubt that the [shackling] error complained of did not contribute to the verdict obtained" (quotation and citation omitted). Id. Not all constitutional rights afforded to criminal defendants apply to SDP proceedings. See R.B., petitioner, 479 Mass. 712, 716 (2018). There is, for example, no constitutional right to a jury in an SDP trial, only a statutory one. See Commonwealth v. Barboza, 387 Mass. 105, 111-113, cert. denied, 459 U.S. 1020 (1982); G. L. c. 123A, § 14 (a). We recognize no constitutional right here beyond the one we describe. 16 2. Defendants in SDP trials. We turn to whether the civil nature of proceedings under G. L. c. 123A changes the protections required before a defendant may be physically restrained during a jury trial. We conclude that it does not eliminate the need for individualized judicial determination. We resolve this case independently under art. 12, which provides due process protection at least as broad as the Fourteenth Amendment. See Commonwealth v. Burgess, 450 Mass. 366, 373 n.7 (2008). Federal decisions, including Deck, inform our understanding of the dangers of shackling, but do not supply the constitutional ground for our decision. Because art. 12 suffices, we do not decide whether the Fourteenth Amendment independently requires the same protections in proceedings under G. L. c. 123A.8 Although SDP proceedings are civil, they are "quasi civil, quasi criminal" in nature. R.B., petitioner, 479 Mass. 712, 716-717 (2018). Thus, we have extended criminal due process protections to them. See, e.g., id. at 717-718 (same standard governing unpreserved arguments on appeal in criminal cases applies to SDP cases); Andrews, petitioner, 368 Mass. 468, 489 8 The defendant asks in the alternative that we grant relief under our superintendence power. He does so in a single sentence of his brief, without citation to authority. That does not rise to the level of appellate argument, and we do not address it. See, e.g., Commonwealth v. Kalila (No. 2), 493 Mass. 636, 641 n.6 (2024). 17 (1975) (proof beyond reasonable doubt applies to SDP trial). Still, not every criminal protection is carried into SDP proceedings. See Sheridan, petitioner, 422 Mass. 776, 779 (1996). And while due process applies to SDP proceedings, see Commonwealth v. Bruno, 432 Mass. 489, 502 (2000), "the question remains what process is due" (citation omitted), Andrews, petitioner, supra at 486. To answer that question, we apply the framework we have utilized for due process claims in proceedings under G. L. c. 123A. "[W]e must balance the interest of the individual affected, the risk of erroneous deprivation of that interest, and the government's interest" (citation omitted). Commonwealth v. Nieves, 446 Mass. 583, 590 (2006). See Mathews v. Eldridge, 424 U.S. 319, 335 (1976). That analysis does not assume that Deck, a criminal case, controls this civil proceeding. See R.B., petitioner, 479 Mass. at 716 ("constitutional rights afforded [to] criminal defendants do not necessarily apply" to G. L. c. 123A proceedings [citation omitted]). In applying the analysis, we bear in mind that "[d]eprivation of greater individual liberty interests requires greater procedures and stronger countervailing State interests." Doe v. Attorney Gen., 426 Mass. 136, 140 (1997). See Commonwealth v. Knowlton, 378 Mass. 479, 487 (1979) ("The more precious the right, the greater 18 the protection, whether the proceedings be labelled civil or criminal").9 We begin with the defendant. A defendant has an interest in freedom from physical restraint during his SDP trial. See Paquette v. Commonwealth, 440 Mass. 121, 131 (2003), cert. denied, 540 U.S. 1150 (2004) ("The potential deprivation of liberty implicates the protections of procedural due process"). The interest in participating in one's trial without excessive physical restraints is significant. See Brown, 364 Mass. at 475-476. It does not merely concern a defendant's ability to move freely in the court room. Rather, as with criminal defendants, it is a matter of dignity in the defendant's treatment, which "reflects the importance of the matter at issue." Deck, 544 U.S. at 631. Cf. Reid v. Donelan, 2 F. Supp. 3d 38, 45 (D. Mass. 2014) ("It is just as dehumanizing -- and, no doubt, demoralizing -- to shackle a detainee in an 9 Other courts have required individualized determinations before restraints can be used in civil commitment and other civil proceedings, applying Mathews or drawing on Deck or other criminal cases. See Tyars v. Finner, 709 F.2d 1274, 1285 (9th Cir. 1983) ("Although the criminal case precedents do not necessarily apply in a civil proceeding, we find them persuasive"); Matter of P.F., 350 Or. App. 390, 396-399 (2026) (applying Mathews balancing test to restraints during civil commitment hearing); Interest of Hoff, 2013 ND 68, ¶¶ 1, 7 (relying on Deck and requiring individualized determination in civil commitment proceeding). But see In re Commitment of Ivie, 687 S.W.3d 526, 532-533 (Tex. App. 2024) (distinguishing civil commitment proceeding from criminal proceedings in Deck). 19 immigration court as it would be to shackle him in a criminal court"). It also implicates a defendant's ability to participate in his own defense and communicate with his lawyer. See Deck, supra. See also Commonwealth v. Dresser, 71 Mass. App. Ct. 454, 458 (2008), citing G. L. c. 123A, § 14 (b), (d) ("Certain rights ordinarily afforded criminal defendants have been extended to those civilly charged with being sexually dangerous persons, e.g., the right to counsel"). The defendant's liberty interest in an accurate SDP determination is likewise "weighty," as commitment creates a total loss of liberty for an indeterminate period. Nieves, 446 Mass. at 590. See G. L. c. 123A, § 14 (d). Because commitment is indefinite, we have stated that "a determination of sexual dangerousness 'may have far more serious consequences for the individual than criminal punishment.'" R.B., petitioner, 479 Mass. at 717, quoting Commonwealth v. Travis, 372 Mass. 238, 246 (1977). The Commonwealth's interests are also substantial, and the first aligns with that of the defendant. Its interest, like that of a prosecutor in a criminal case, "is not that it shall win a case, but that justice shall be done" (citation omitted). Commonwealth v. Ware, 482 Mass. 717, 730 (2019). Accordingly, the Commonwealth has no interest in committing a person who is not sexually dangerous. Cf. Addington v. Texas, 441 U.S. 418, 20 426 (1979) ("the State has no interest in confining individuals involuntarily if they are not mentally ill or if they do not pose some danger to themselves or others"). The Commonwealth also has a compelling interest in security, in preventing escape, and in maintaining order in the court room. See Deck, 544 U.S. at 628; Garcia v. Commonwealth, 487 Mass. 97, 103 (2021). And we have described its interest in protecting the public from SDPs as "paramount," such that a defendant's interest must, "with appropriate safeguards, yield" to it. Nieves, 446 Mass. at 590-591. But that interest is served by accurate SDP determinations, not by a presumption that a particular defendant poses a security risk in the court room.10 The risk of erroneous deprivation of a defendant's liberty is substantial, and the value of the safeguard proposed by the defendant is correspondingly high. Restraints communicate more than custody. They suggest that the court itself regards the defendant as too dangerous to remain unrestrained, even in a court room staffed with security personnel. See Brown, 364 Mass. at 475 (restraints "tend to create prejudice in the minds 10We do not minimize the Commonwealth's interests. Nor does the procedure we adopt below diminish them. Its administrative burden is modest. It simply requires a judge to make an individualized determination whether restraints are necessary. As we discuss below, the judge also may rely on information from court officers, but must make the decision independently. 21 of the jury by suggesting that a defendant is a bad and dangerous person"). And while generalized dangerousness is not sexual dangerousness, a jury asked whether a defendant is a "menace to the health and safety of other persons," G. L. c. 123A, § 1, cannot easily set aside the judge's apparent assessment that he is dangerous. See Commonwealth v. Fay, 467 Mass. 574, 581, cert. denied, 574 U.S. 858 (2014) ("menace" element turns on "the reasonably expected harm to [a defendant's] prospective victims"). The Commonwealth argues nonetheless that the concerns underlying the criminal rule in Deck, chiefly the presumption of innocence, are not equally present in civil proceedings under G. L. c. 123A, where a jury instruction on a presumption that the defendant is not sexually dangerousness is not constitutionally required. See Wyatt, petitioner, 428 Mass. 347, 352 n.10 (1998). But the Court applied the rule in Deck at the penalty phase, where the presumption of innocence no longer applied and the jury knew the defendant was guilty. See Deck, 544 U.S. at 632-633. In support, the Court cited the severity of the sanction faced by a capital defendant and the implication of dangerousness that shackles convey to a jury. Id. That reasoning applies here as well. An SDP commitment is indefinite and may last for life, see G. L. c. 123A, § 14 (d), and, as in 22 the capital penalty phase, the defendant's dangerousness is central to the very question before the jury in an SDP trial. An individualized determination guards against the risk that an SDP defendant may be erroneously deprived of his liberty because he appeared in court in physical restraints. It requires the judge to identify a concrete security concern and to consider whether a less conspicuous measure will address it, and it reduces the danger that restraints will be imposed simply because the case is an SDP case. In light of that risk, the balance favors the defendant. We therefore hold that, under art. 12, before a defendant in an SDP jury trial may be physically restrained, the trial judge must determine in his or her discretion that restraints are warranted by a particular need to prevent escape, protect those in the court room, or maintain order. The judge must state the reasons for that determination on the record, outside the jury's presence, and afford counsel an opportunity to object and to resolve relevant factual issues. See Brown, 364 Mass. at 479. If restraints are warranted, the judge should adopt the least drastic and conspicuous measure that will meet the identified need. Id. These requirements apply whether or not the judge intends the restraints to be concealed. A judge cannot know in advance whether concealment will succeed, as this case illustrates, and 23 restraints may impair a defendant's ability to communicate with counsel and to participate in the proceeding even when the jury cannot see them. See Brown, 364 Mass. at 475. Whether the jury can see purportedly concealed restraints bears on whether a failure to make the required determination was harmless, not on whether the determination itself was required. See, e.g., Commonwealth v. Martin, 424 Mass. 301, 309–310 (1997). A judge may, of course, consult court officers about security. See Brown, 364 Mass. at 475; Commonwealth v. Scionti, 81 Mass. App. Ct. 266, 276 (2012). What the judge may not do is delegate the decision. See Brown, supra. Where appropriate, and absent a reasonable objection that an instruction would draw attention to the restraints, the judge should also consider instructing the jury to not infer sexual dangerousness from security measures. See id. at 479-480. 3. Preservation and standard of review. The Commonwealth contends that the defendant's claim is unpreserved because, although defense counsel repeatedly objected to the shackles, he never objected specifically to the absence of particularized findings. We disagree. Counsel objected on constitutional grounds before the first venire panel entered, renewed the objection repeatedly, and argued specifically that the defendant's record did not indicate a risk of flight or violence. That was, in effect, a request that the judge 24 identify a particularized need, and the judge's ruling left no doubt that further objection would be futile. See Commonwealth v. Wray, 88 Mass. App. Ct. 403, 405-406 (2015). The claim is preserved. Where an SDP defendant has preserved the issue of his restraint at trial without the required determination, the Commonwealth must establish beyond a reasonable doubt that the error did not contribute to the verdict.11 See Commonwealth v. Rocheleau, 90 Mass. App. Ct. 634, 638-639 (2016). Cf. Commonwealth v. White, 497 Mass. 475, 491-492 (2026). Placing this high burden on the Commonwealth reflects the significant liberty interest at stake and the substantial risk of error, particularly given the relationship between the restraints and 11The defendant cites no authority for his contention that the error is structural and therefore requires automatic reversal. This error is not among the "very limited class" of structural errors, as it is not "a defect affecting the framework within which the trial proceeds," but rather is an error that can be "quantitatively assess[ed] in the context of other evidence," as we do below (quotation and citations omitted). Commonwealth v. Yat Fung Ng, 491 Mass. 247, 255–256 (2023). See Commonwealth v. Robideau, 464 Mass. 699, 704 (2013) ("the defendant's shackling in front of the jury did not amount to structural error"). Cf. United States v. McGill, 815 F.3d 846, 894 (D.C. Cir. 2016), cert. denied, 583 U.S. 829 (2017). The defendant argues that, because dangerousness is the question in an SDP trial, the prejudice from shackling cannot be measured. But Deck, 544 U.S. at 624, 635, prescribed harmless error review for a capital penalty phase, where dangerousness was likewise central. And the effect of the error can be measured against the strength of the evidence. 25 the question submitted to the jury. See Deck, 544 U.S. at 635 ("defendant need not demonstrate actual prejudice"). The standard does not require definitive proof that a particular juror saw the restraints. It addresses the risk that the jury's determination was affected by restraints imposed without adequate justification. 4. Application. a. The error. The trial judge here made no particularized findings and did not explain why any State interest justified the shackles, beyond a general reference to "security issues." See Rocheleau, 90 Mass. App. Ct. at 637 ("the judge made no particularized findings on the record at the time he imposed his shackling order"). Rather, the judge "deferr[ed]" to the recommendation from security personnel and, believing she was not responsible, effectively delegated the decision to court room officers, who informed her that shackling was routine. The judge was entitled to consult the officers and to seek their views. See Scionti, 81 Mass. App. Ct. at 276 (judge may consider "recommendations of court officers and others who may have responsibility for the custody of prisoners and general court security"). But it was not proper for her to "pass [her] responsibility to [those] official[s]." Brown, 364 Mass. at 475. Cf. In re Mark P., 402 Ill. App. 3d 173, 177 (2010) ("The trial court should have exercised its discretion instead of adopting a nonspecific statement that the deputies 26 were fine with it"). Nor was it proper for her to rely on their representation that such restraints are routine in SDP cases, as the determination must be case specific. See Deck, 544 U.S. at 633. The record does not disclose any particularized security justification. To be sure, the defendant's pri