Sosman, J.
The defendant was convicted of aggravated rape (two indictments), kidnapping, intimidation of a witness, assault and battery, assault and battery on a public employee, and resisting arrest. On appeal, he contends that the judge erred in ruling that he had no discretion to admit impeachment evidence that the complaining witness had been convicted as a common nightwalker. The defendant thus asks us to revisit whether the rape-shield statute, G. L. c. 233, § 21B, precludes introduction of convictions of the complaining witness under G. L. c. 233, § 21, if the convictions are for sex-related offenses, a question addressed but left unresolved by an equally divided court in Commonwealth v. Houston, 430 Mass. 616 (2000) (Houston). We conclude that it is within the judge’s discretion to admit evidence of such convictions pursuant to G. L. c. 233, § 21, but that the exercise of that discretion must take into consideration the objectives of the rape-shield statute. As such, the judge below erred in failing to exercise discretion when ruling on the defendant’s request to introduce the complainant’s conviction as a common nightwalker.
The defendant also alleges error in the prosecutor’s closing argument. Knowing that the rape-shield statute had precluded the defendant from introducing any evidence of the complaining witness’s history of prostitution, the prosecutor attacked the defendant’s theory of consensual sexual intercourse with a prostitute by arguing that there was no evidence that the complaining witness was a prostitute. We agree with the defendant that the prosecutor’s argument was improper and that it created a substantial risk of a miscarriage of justice. We therefore vacate the convictions of aggravated rape, kidnapping, intimidation of a witness, and assault and battery, and remand those indictments for a new trial.1
1. Facts. The evidence at trial was as follows. At ap[716]*716proximately 11 p.m. on January 22, 2002, the complainant’s boy friend left her by herself at a bar in Lowell. The complainant was a regular customer at that establishment. The defendant, whom she did not know, was already in the bar when she arrived. The defendant approached the complainant and spoke to her briefly, but she ignored him. At approximately 12:30 a,m., the complainant called her boy friend to pick her up, waited inside the bar for a few minutes, and then went outside to wait for her ride.
The defendant followed her out of the bar, grabbed her by the arm, and pulled her across the street. He made a remark that he was “loaded,” which she took to mean that he had a gun. Once across the street, the defendant forced her down a stairwell, grabbed the back of her head, and pushed her against the wall. He proceeded to rape her twice, penetrating her both vaginally and anally. At some point during the encounter, he forced her to her knees. The defendant warned her not to “rat” on him and threatened to kill her if she did. Some noise distracted the defendant momentarily, and the complainant was able to break free. Crying, she ran up the stairs and back toward the bar, with the defendant in pursuit. A witness nearby telephoned the police, reporting that a woman was screaming and running down the street, with a man chasing and trying to strike her.
The complainant entered the bar, in a distraught state, followed by the defendant, who acted “nonchalant[].” The [717]*717complainant told the bartender that she had been raped.2 Overhearing the complainant’s accusation of rape, the defendant said that he “didn’t do nothing.” He then went over to the pool tables and resumed apparently normal conversation with other patrons. The police arrived in response to the 911 call.3 The complainant told one of the officers that the defendant had raped her, and pointed the defendant out to him. When the officer asked the defendant to come outside, the defendant replied that he “didn’t do nothing wrong” and refused to accompany the officer. While being placed under arrest, the defendant struggled, biting one of the officers. He was eventually subdued with some form of pepper spray.
The complainant was taken to a hospital. She showed the nurse bruises on her knees and a clump of hair (which she said the defendant had pulled from her head). Subsequent testing of the rape kit evidence yielded deoxyribonucleic acid (DNA) samples consistent with the defendant’s DNA.
The defendant’s version of events was that the complainant was a prostitute who had falsely accused him of rape when he had been unable to pay her the agreed price for consensual intercourse. He testified that he had arrived at the bar around 9:30 p.m. At some point, he had gone over to the complainant and offered to buy her a drink. She declined, as she already had a beer, but asked him if he “wanted a date,” which he understood to be an offer of sex in exchange for money. She told him that she would be leaving after she finished her beer and that they would meet outside. Later on, when the complainant headed to the door to leave, she turned and winked at him, which he understood as the signal to follow her. After a brief discussion about where they could go, they proceeded across the street and down the stairwell. He inquired about price, and the complainant told him that her price depended on “what [he] wanted.” He indicated that he wanted oral sex, and she got down on her knees and began to perform oral sex on him. [718]*718However, when he changed his mind and wanted intercourse, she told him that the price would be higher. He agreed, and they proceeded to engage in vaginal and anal intercourse, with the complainant on her hands and knees. Afterward, when the complainant demanded payment, the defendant gave her the small amount of money he had left in his pocket and told her that he would have to owe her the rest. A loud argument ensued, and the complainant headed back toward the bar, with the defendant following her, both of them yelling and screaming. Back in the bar, when he heard the complainant saying that she had been raped, he told the bartender that he had not raped her and that she was just angry because she had not been paid. He admitted struggling with the officers (and that he bit one of them) when they later arrested him. He also claimed that when the arresting officer told him he was being arrested for rape, he explained again that the complainant was just angry because she had not been paid.
2. Discussion, a. Impeachment of the complainant by prior conviction as a common nightwalker. Prior to trial, the Commonwealth filed a motion in limine based on the rape-shield statute, G. L. c. 233, § 21B, seeking to exclude the complainant’s “sexual history,” including the fact that she had “been convicted of prostitution in the past.” The defendant opposed the motion, arguing that he should be allowed to introduce the complainant’s prior convictions for the purpose of impeaching her. See G. L. c. 233, § 21. On May 24, 2002, the complainant had been convicted of being a common nightwalker, G. L. c. 272, § 53, for which a fine of one hundred dollars had been imposed. She also had two earlier convictions of common night-walking in 1999 and 2001, and had been placed on probation for both of those offenses. The judge allowed the Commonwealth’s motion in limine with respect to the common nightwalker convictions, on the ground that they were precluded by the rape-shield statute. He also noted that, irrespective of the rape-shield statute, only one of the common nightwalking convictions (the 2002 conviction that resulted in a fine) would satisfy the prerequisites for introduction under G. L. c. 233, [719]*719§ 21, First.4 He later articulated the view that in light of the rape-shield statute and Houston, supra, he was required to exclude that conviction, and that he had exercised no discretion in deciding to exclude it. He did allow the defendant to impeach the complainant with a prior conviction of a nonsexual offense, specifically, a 1997 conviction of larceny of property over $250.
On appeal, the defendant contends that a judge should have discretion to admit evidence of a complaining witness’s conviction of a prior sexual offense for purposes of impeaching that witness, G. L. c. 233, § 21, notwithstanding the rape-shield statute’s prohibition against admitting evidence of a sexual assault victim’s “sexual conduct,” G. L. c. 233, § 21B. The court identified the potential conflict between these two statutes in Commonwealth v. Joyce, 382 Mass. 222, 231 n.8 (1981), but declined to decide the question. The court confronted the issue directly in Houston, supra, but were equally divided as to how the competing requirements of the two statutes should be resolved. Compare id. at 623-626 (Marshall, C.J., concurring) (§21 does not allow impeachment by conviction of sexual offense committed by witness entitled to protection of rape-shield statute), with id. at 626-629 (Lynch, J., concurring) (judges have discretion to admit evidence of such convictions under § 21, but should consider policies underlying rape-shield statute when exercising that discretion), and id. at 629-632 (Cowin, J., concurring) (same).
The parties have briefed extensively their respective interpretations of Houston, with varying views as to how the procedural history and status of that case should have caused the judge to follow one or the other of the concurring opinions. We need not resolve the arguments about how Houston itself should have been applied, as we are prepared to decide the issue that divided the court in Houston. We agree with the reasoning of the concurring opinions of Justice Lynch, id. at 626-629, and Justice Cowin, id. at 629-632, and hold that a judge has discretion to allow impeachment of a sexual assault complain[720]*720ant by prior convictions of sexual offenses, but that in exercising that discretion, the purposes of the rape-shield statute should be considered.
We begin with a brief overview of the two statutes involved. Under G. L. c. 233, § 21, a witness’s prior criminal conviction “may be shown to affect [the witness’s] credibility.” The theory underlying § 21 is that a witness’s “earlier disregard for the law may suggest to the fact finder similar disregard for the courtroom oath.” Commonwealth v. Fano, 400 Mass. 296, 302-303 (1987), quoting Commonwealth v. Roucoulet, 22 Mass. App. Ct. 603, 608 (1986). “One who has been convicted of crime is presumed to be less worthy of belief than one who has not been so convicted.” Brillante v. R.W. Granger & Sons, 55 Mass. App. Ct. 542, 545 (2002), quoting Labrie v. Midwood, 273 Mass. 578, 582 (1931). Thus, while we do not allow a witness to be impeached by evidence of prior bad acts, if those bad acts have resulted in a conviction, the conviction itself may be admissible under § 21. See Commonwealth v. Bregoli, 431 Mass. 265, 275 (2000); Commonwealth v. Atkins, 386 Mass. 593, 600 (1982); Commonwealth v. Clifford, 374 Mass. 293, 305 (1978); P.J. Liacos, M.S. Brodin, & M. Avery, Massachusetts Evidence § 6.10.3, at 329-330 (7th ed. 1999).
In order to be admissible for impeachment purposes, the convictions in question must meet specific requirements based on the degree of the offense (felony or misdemeanor), the nature of the disposition, and the timing and sequence of the convictions. G. L. c. 233, § 21. Even where a particular conviction meets those requirements, a judge has discretion to exclude evidence of the conviction.5 Commonwealth v. Maguire, 392 Mass. 466, 469-470 (1984). In the exercise of that discretion, the judge is to consider whether the “danger of unfair prejudice outweigh[s] the probative value of the evidence of a prior conviction for the purposes of impeachment.” Id. at 470. See Commonwealth v. Knight, 392 Mass. 192, 194 (1984); Com[721]*721monwealth v. Chase, 372 Mass. 736, 750 (1977). Where the judge decides to allow introduction of a prior conviction under § 21, the potential prejudice may be ameliorated by an appropriate limiting instruction. See Commonwealth v. Paulding, 438 Mass. 1, 12 (2002); Commonwealth v. Drumgold, 423 Mass. 230, 250 (1996); Commonwealth v. Maguire, supra.
The rape-shield statute, G. L. c. 233, § 21B, is applicable to proceedings involving certain sexual offenses.6 The statute precludes admission of evidence of a victim’s “reputation” with respect to “sexual conduct,” as well as “[e]vidence of specific instances of a victim’s sexual conduct . . . .” Id. The statute creates two exceptions to that prohibition, allowing “evidence of the victim’s sexual conduct with the defendant or evidence of recent conduct of the victim alleged to be the cause of any physical feature, characteristic, or condition of the victim.” Id. In order for a defendant to introduce such evidence pursuant to either of those exceptions, the judge must first hold a hearing on the defendant’s motion and offer of proof, and make a finding that “the weight and relevancy of said evidence is sufficient to outweigh its prejudicial effect to the victim.” Id. In addition to the exceptions set forth in the statute, we have ruled that a defendant may introduce evidence of the complaining witness’s sexual conduct where that conduct is relevant to the complainant’s bias or motive to fabricate. Commonwealth v. Joyce, supra at 227-229. However, even when offered to show bias or motive to lie, the judge should exercise discretion with respect to the introduction of such evidence, bearing in mind “the important policies underlying the [r]ape-[s]hield statute.” Id. at 231. See id. at 232-233 (Braucher, J., concurring) (consistent with rape-shield statute, judge should hold hearing on evidence of sexual conduct offered to show motive for false accusation, and determine whether weight and relevance of evidence outweighs prejudicial effect).
[722]*722The rape-shield statute comports with the common-law rule that a complainant’s sexual intercourse with persons other than the defendant is inadmissible. See Commonwealth v. Gouveia, 371 Mass. 566, 569 (1976); Commonwealth v. McKay, 363 Mass. 220, 226 (1973); Commonwealth v. Regan, 105 Mass. 593 (1870). The innovation in the rape-shield statute was not its prohibition of evidence pertaining to “specific instances” of a complainant’s sexual conduct, as that evidence was already precluded at common law. Rather, what the statute added was the prohibition of evidence of the complainant’s “reputation” in such matters. Commonwealth v. Joyce, supra at 227-228. A complainant’s “reputation for unchastity” had been admissible at common law and had been viewed as probative of the complainant’s consent. Id. See Commonwealth v. Gouveia, supra; Commonwealth v. Manning, 367 Mass. 605, 610 (1975); Commonwealth v. McKay, supra; Commonwealth v. Gardner, 350 Mass. 664, 668 (1966); Commonwealth v. Harris, 131 Mass. 336 (1881); Commonwealth v. Kendall, 113 Mass. 210 (1873). The common-law rule, which prohibits evidence of specific instances of sexual conduct while allowing “reputation” evidence on the same subject, was the product of a strong common-law tradition that allowed proof of character to be introduced solely by means of “reputation” evidence. See, e.g., Commonwealth v. O’Brien, 119 Mass. 342, 344-347 (1876). Under that approach, a rape complainant’s “unchaste character” was relevant and could be shown by evidence of her reputation (Commonwealth v. Kendall, supra), but that character could not be shown by introducing evidence of, for example, a specific adulterous affair (Commonwealth v. Harris, supra). The rape-shield statute operates to exclude all such evidence, whether in the form of “specific instances” of sexual conduct or in the form of “reputation” evidence.
The common-law rule excluding evidence of the complainant’s specific sexual conduct with others, and the rape-shield statute that later codified that aspect of the common-law rule, was premised on the fact that “such evidence has little probative value on the issue of consent.” Commonwealth v. Joyce, supra at 227. See Commonwealth v. McKay, supra at 227 (“victim’s consent to intercourse with one man does not imply [723]*723her consent in the case of another”). The rape-shield statute also prevents an array of adverse effects on the complaining witness and the process of the trial. Introduction of evidence concerning the complainant’s sexual past “would prolong the trial and divert the attention of the trier of fact from the alleged criminal acts of the defendant.” Commonwealth v. Joyce, supra. In addition, “inquiries into the sexual history of the rape complainant chills her willingness to testify.” Id. at 228. “Rape-shield statutes are ‘aimed at eliminating a common defense strategy of trying the complaining witness rather than the defendant. The result of this strategy was harassment and further humiliation of the victim as well as discouraging victims of rape from reporting the crimes to law enforcement authorities.’ ” Id., quoting State v. Williams, 224 Kan. 468, 470 (1978). See Houston, supra at 621 (Marshall, C.J., concurring) (rationale underlying rape-shield statute “is that evidence of the victim’s prior sexual conduct might divert attention from the alleged criminal acts of the defendant, inappropriately putting the victim on trial”).
We now confront the issue of how to harmonize these two statutes when the prior conviction that the defendant seeks to introduce for impeachment purposes under § 21 is for a sexual offense, and thus overlaps with the § 21B prohibition against introduction of the complaining witness’s “sexual conduct.” The Commonwealth argues that § 21B, being the more recent7 and the more specific of the two statutes, controls. See Doe v. Attorney Gen. (No. 1), 425 Mass. 210, 215-216 (1997); 2B N.J. Singer, Sutherland Statutory Construction § 51.02, at 193, [724]*724194 (6th ed. 2000). The canon of statutory construction has been correctly identified, but its application to these two statutes is problematic. While the rape-shield statute was not enacted until 1977 (St. 1977, c. 110), the prohibition against introduction of “specific instances” of a complainant’s sexual conduct was not new. As discussed above, that aspect of the statute simply restated a rule at common law. It was not a “recent” innovation when § 21B was enacted, but rather a common-law rule that had coexisted with § 21 for over a century.8
Moreover, it is difficult to define which of the two statutes is [725]*725the more “specific” and which is the more “general.” Section 21 is “general” in the sense that it applies to all criminal trials, whereas § 21B is more “specific” in applying only to prosecutions for particular offenses. However, § 21 is far more “specific” with respect to what it covers (the use of certain convictions meeting particular requirements for the single purpose of impeachment, and only if the judge’s exercise of discretion allows it), whereas § 21B addresses the admissibility for any purpose of anything that would come within the ambit of “sexual conduct.”
Rather than mechanically applying the concept that the more “recent” or more “specific” statute (whichever one that is) trumps the other, we should endeavor to harmonize the two statutes so that the policies underlying both may be honored. Implied repeal of a statute is disfavored, and we should not impliedly repeal a portion of § 21 unless it “is so repugnant to, and inconsistent with, the later enactment [§ 21B] that both cannot stand.” LaBranche v. A.J. Lane & Co., 404 Mass. 725, 728 (1989), quoting Boston v. Board of Educ., 392 Mass. 788, 792 (1984). See Houston, supra at 628 (Lynch, J., concurring), and cases cited. Given that the common-law rule excluding evidence of a complainant’s sexual conduct had long operated in tandem with impeachment by way of convictions under § 21, see note 8, supra, we do not believe that the mere codification of that common-law rule in § 21B suddenly makes it impossible for it to stand alongside § 21. Moreover, “[a] statute is not to be deemed to repeal or supersede a prior statute in whole or in part in the absence of express words to that effect or of clear implication.” Commonwealth v. Hayes, 372 Mass. 505, 512 (1977), quoting Colt v. Fradkin, 361 Mass. 447, 449-450 (1972). Here, we encounter legislative silence on how these two statutes should relate to each other, not “express words” or “clear implication” that § 21B is to be given priority over § 21.9
As we attempt to harmonize these statutes, it is not for us to [726]*726determine which of them is more weighty or worthwhile and to allow that statute to dominate.10 Instead, we must seek to apply them in a manner that, to the greatest extent possible, serves the policies underlying both. Resort to the sound exercise of the trial judge’s discretion, which is already a prerequisite to any introduction of prior convictions as impeachment evidence under § 21, allows for consideration of the purposes of both statutes. This approach reconciles the competing interests of the two statutes by carving out an extremely narrow exception to § 21B, an exception that will be allowed only where the sexual conduct in question has led to a criminal conviction, the convic[727]*727tion in turn meets all the technical requirements of § 21,11 and the judge is satisfied that the probative value of the conviction for purposes of impeaching the complainant outweighs the prejudice to the Commonwealth and the complainant. See Houston, supra at 631 (Cowin, J., concurring). The alternative, a complete prohibition on the impeachment use of convictions of any sex-related offense (a prohibition that would not be limited to convictions involving prostitution), would constitute a much larger and totally inflexible exception to § 21. We have neither “express words” nor a “clear implication” suggesting that § 21B was intended to supersede § 21 in that complete fashion. Commonwealth v. Hayes, supra.
When the prior conviction is of a sexual offense and is being offered to impeach the complaining witness in a sexual assault case, the judge’s consideration of the “prejudicial effect” of introducing the conviction should take into account the important policies underlying the rape-shield statute.12 See Houston, supra at 629 (Lynch, J., concurring); id. at 632 (Cowin, J., concurring). The judge should thus consider the potential that [728]*728the jury may misuse the conviction of a sexual offense as indicative of the complaining witness’s consent, and the risk that the complaining witness may be subjected to needless humiliation.13 Under today’s ruling, the rape-shield statute remains as an important protection for rape victims, including those who happen to be prostitutes — neither the facts surrounding their sexual conduct nor their reputation in such matters is admissible, and even if a complainant’s prior conviction of prostitution satisfies all the technical prerequisites of § 21 (see note 11, supra), the judge must consider the policies to be promoted by the rape-shield statute and may exclude the conviction due to those policy considerations. We see no reason to fear that trial judges will be insensitive to these concerns, that they will exercise their discretion in ways that will “eviscerate[]” the rape-shield statute, or that they will be heedless of the particular prejudice at issue where the complainant’s prior conviction is related to prostitution. Post at 739.
The judge below thus erred in declining to exercise any discretion when ruling on the Commonwealth’s motion in [729]*729limine. That the exercise of discretion could, had it been undertaken, permissibly have resulted in the same decision to exclude the conviction does not necessarily insulate the error from reversal. See, e.g., Commonwealth v. McFarland, 15 Mass. App. Ct. 948 (1983) (reversal where judge erroneously believed he had no discretion but to admit defendant’s prior convictions, rejecting speculative argument that exercise of discretion would have led to their admission); Commonwealth v. Ruiz, 22 Mass. App. Ct. 297, 301-305 (1986), S.C., 400 Mass. 214 (1987). Cf. Commonwealth v. Coviello, 378 Mass. 530, 533-534 & n.8 (1979) (harmless error in judge’s failure to exercise discretion with respect to whether conviction could be introduced on direct as opposed to cross-examination). The Commonwealth argues, with considerable force, that the error here was harmless, as the defendant was allowed to introduce the complainant’s conviction of a nonsexual offense (her 1997 conviction of larceny of property over $250), thereby permitting him this method of impeachment without trenching on the concerns underlying the rape-shield statute. While a jury’s improper use of the complainant’s common nightwalker conviction might have been beneficial to the defendant, there is little if any reason to believe that its proper impeachment value alone would have had any effect on the jury’s verdict. The defendant argues, however, that the common nightwalker conviction from 2002 was recent, whereas the 1997 larceny conviction was six years old by the time of trial, and that the impeachment power of two convictions combined would be greater than the power of a single, and somewhat old, offense. We need not resolve the parties’ arguments with respect to whether this error alone would require reversal, as, for the reasons discussed below, there was also error in the prosecutor’s closing argument raising a substantial risk of a miscarriage of justice and necessitating a new trial.
b. Prosecutor’s closing argument. During closing argument, the prosecutor refuted the defense theory of the case by pointing out that there was no evidence that the complaining witness was a prostitute. She further suggested that the complainant was not a prostitute because a prostitute would have known enough to insist on payment in advance and would have had more than [730]*730a single customer on the night in question. Leading into this argument, the prosecutor also suggested that the complainant’s demeanor on the stand (which had been alluded to during the defense closing) was the product of being falsely accused of being a prostitute.14 There was no objection. On appeal, the defendant contends that the prosecutor’s improper exploitation of the exclusion of evidence under the rape-shield statute gave rise to a substantial risk of a miscarriage of justice. We agree.
Under the rape-shield statute, the defendant was precluded from introducing any evidence of the complainant’s history of prostitution. The Commonwealth erroneously suggests that the only evidence that had been excluded under the rape-shield statute was the 2002 common nightwalker conviction that the defendant sought to introduce as impeachment evidence. While that was the sole evidence the defendant sought to introduce, it was not the entirety of the evidence that would have been available to the defendant, but for the prohibition codified in the rape-shield statute. At a minimum, the three Lowell District Court convictions of common nightwalking (the most recent of which stemmed from an arrest just two weeks after the alleged rape) would have given defense counsel a good faith basis to [731]*731ask the complainant about her experience as a prostitute in the area. Fully cognizant of the limitations imposed by the rape-shield statute (as indicated by the prior proceedings on the motion in limine), defense counsel had appropriately refrained from introducing evidence of or alluding to the complainant’s history of prostitution.
It was improper for the prosecutor to suggest to the jury that the absence of any evidence that the complainant engaged in prostitution meant that she was not a prostitute. The Commonwealth contends that all the prosecutor was referring to was the absence of any evidence that the complainant was engaged in prostitution “on the night in question.” While some of the argument did include references to the complainant’s behavior “this night,” the context, as reasonably understood by the jury, went beyond the confines of that specific night. At the outset, the prosecutor sought to explain the complainant’s demeanor on the stand by invoking a sense of righteous indignation that she would be called a prostitute, suggesting to the jury that what they had seen was an emotional reaction to the ostensible falsity of that offensive label. At the time she made that argument, the prosecutor knew that the label was in fact accurate, and that prosecutors in her own office had proved its accuracy on three separate occasions. Immediately thereafter, the prosecutor asked the jury “what evidence” they had before them that would indicate that the complainant was a prostitute, thereby offering an open invitation to consider the absence of evidence on the entire subject. The prosecutor’s next line of argument, the implausibility that a prostitute would fail to ask for payment in advance, was legitimately linked to the specific events of that night, but was phrased in a way that, following on the heels of the previous improper argument, suggested to the jury that the complainant could not have been a prostitute because no experienced prostitute would conduct business that way. Similarly, the references to the complainant’s remaining at the bar (without having been seen going in and out) would properly relate to the night in question, but that proper argument would take on further meaning from the prior improper argument — it was but one example of the lack of any evidence to show that the complainant engaged in prostitution at all. The over-all mes[732]*732sage to the jury from this entire line of argument was that the defendant’s testimony concerning the incident was the only evidence they had of the complainant’s prostitution and that, in the absence of any other evidence to corroborate his claim that she was a prostitute, the defense theory was not worthy of belief.
Counsel may not, in closing, “exploit[] the absence of evidence that had been excluded at his request.” Commonwealth v. Carroll, 439 Mass. 547, 555 (2003). Such exploitation of absent, excluded evidence is “fundamentally unfair” and “reprehensible.” Commonwealth v. Haraldstad, 16 Mass. App. Ct. 565, 568 (1983). “[A] party’s success in excluding evidence from the consideration of the jury does not later give that party license to invite inferences (whether true or, as in this case, false) regarding the excluded evidence.” Commonwealth v. Mosby, 11 Mass. App. Ct. 1, 9 (1980). As illustrated by the Commonwealth’s motion in limine, the Commonwealth objected to introduction of any evidence that would link the complainant to prior acts of prostitution. Having succeeded in excluding all such evidence, the prosecutor could not then ask the jury to infer that the absence of such evidence meant that the complainant could not be a prostitute. The argument was improper.
In determining whether an error in closing argument requires reversal, we consider whether defense counsel made a timely objection; whether the judge’s instructions mitigated the error; whether the error was central to the issues at trial or concerned only collateral matters; whether the jury would be able to sort out any excessive claims or hyperbole; and whether the Commonwealth’s case was so strong that the error would cause no prejudice. Commonwealth v. Santiago, 425 Mass. 491, 500 (1997), S.C., 421 Mass. 298, and 428 Mass. 39, cert. denied, 525 U.S. 1003 (1998), and cases cited. Here, there was no objection, but that is the only factor that favors the Commonwealth. All of the remaining factors support the defendant’s claim for a new trial. The judge’s standard instructions to the effect that closing arguments were not evidence and that the jury’s verdict had to be based solely on the evidence would not ameliorate the prosecutor’s improper reference to the absence of evidence concerning the victim’s experience as a [733]*733prostitute. The error went to the entire crux of the defense, and indeed was directed at the principal disputed issue at trial. The nature of the error was not something that the jury could, on their own, put in perspective and ignore — the jury were presumably ignorant of the fact that the defendant had been precluded from introducing any evidence of the complainant’s prior sexual conduct or reputation. Finally, although the Commonwealth’s case was strong,15 it was not “so overwhelming that the error[] did not prejudice the defendant.” Id., citing Commonwealth v. Clary, 388 Mass. 583, 591 (1983). On balance, we conclude that this erroneous argument created a substantial risk of a miscarriage of justice, and we therefore order a new trial.
3. Conclusion. For the foregoing reasons, the convictions of assault and battery on a public employee and resisting arrest are affirmed (see note 1, supra). The remaining convictions are reversed, the verdicts set aside, and the matter is remanded for a new trial. On retrial, if the defendant seeks to impeach the complainant with evidence of a prior conviction of a sex-related offense, the judge should exercise discretion with respect to the admission or exclusion of that impeachment evidence under G. L. c. 233, § 21, and that exercise of discretion should include consideration of the purposes underlying the rape-shield statute, G. L. c. 233, § 21B.
So ordered.