"41. Restriction on evidence or questions about complainant's sexual history (1) If at a trial a person is charged with a sexual offence, then, except with the leave of the court — (a) no evidence may be adduced, and (b) no question may be asked in cross-examination, by or on behalf of any accused at the trial, about any sexual behaviour of the complainant. (2) The court may give leave in relation to any evidence or question only on an application made by or on behalf of an accused, and may not give such leave unless it is satisfied — (a) that subsection (3) or (5) applies, and (b) that a refusal of leave might have the result of rendering unsafe a conclusion of the jury or (as the case may be) the court on any relevant issue in the case. (3) This subsection applies if the evidence or question relates to a relevant issue in the case and either — (a) that issue is not an issue of consent; or (b) it is an issue of consent and the sexual behaviour of the complainant to which the evidence or question relates is alleged to have taken place at or about the same time as the event which is the subject matter of the charge against the accused; or (c) it is an issue of consent and the sexual behaviour of the complainant to which the evidence or question relates is alleged to have been, in any respect, so similar— (i) to any sexual behaviour of the complainant which (according to evidence adduced or to be adduced by or on behalf of the accused) took place as part of the event which is the subject matter of the charge against the accused, or (ii) to any other sexual behaviour of the complainant which (according to such evidence) took place at or about the same time as that event, that the similarity cannot reasonably be explained as a coincidence. (4) For the purposes of subsection (3) no evidence or question shall be regarded as relating to a relevant issue in the case if it appears to the court to be reasonable to assume that the purpose (or main purpose) for which it would be adduced or asked is to establish or elicit material for impugning the credibility of the complainant as a witness. (5) This subsection applies if the evidence or question — (a) relates to any evidence adduced by the prosecution about any sexual behaviour of the complainant; and (b) in the opinion of the court, would go no further than is necessary to enable the evidence adduced by the prosecution to be rebutted or explained by or on behalf of the accused."
"100 Non defendant's bad character (1) In criminal proceedings evidence of the bad character of a person other than the defendant is admissible if and only if — (a) it is important explanatory evidence, (b) it has substantial probative value in relation to a matter which — (i) is a matter in issue in the proceedings, and (ii) is of substantial importance in the context of the case as a whole, or (c) all parties to the proceedings agree to the evidence being admissible. (2) For the purposes of subsection (1)(a) evidence is important explanatory evidence if — (a) without it, the court or jury would find it impossible or difficult properly to understand other evidence in the case, and (b) its value for understanding the case as a whole is substantial. (3) In assessing the probative value of evidence for the purposes of subsection (1)(b) the court must have regard to the following factors (and to any others it considers relevant) — (a) the nature and number of the events, or other things, to which the evidence relates; (b) when those events or things are alleged to have happened or existed; (c) where — (i) the evidence is evidence of a person’s misconduct, and (ii) it is suggested that the evidence has probative value by reason of similarity between that misconduct and other alleged misconduct, the nature and extent of the similarities and the dissimilarities between each of the alleged instances of misconduct; (d) where — (i) the evidence is evidence of a person’s misconduct, (ii) it is suggested that that person is also responsible for the misconduct charged, and (iii) the identity of the person responsible for the misconduct charged is disputed, the extent to which the evidence shows or tends to show that the same person was responsible each time. (4) Except where subsection (1)(c) applies, evidence of the bad character of a person other than the defendant must not be given without leave of the court."