Cal. Penal Code § 1524.1
(b)
(3)
(c)
(d) If the victim decides to request HIV testing of the accused, the victim shall request the issuance of a search warrant, as described in subdivision (b).
Neither the failure of a prosecutor to refer or advise the victim as provided in this subdivision, nor the failure or refusal by the victim to seek or obtain counseling, shall be considered by the court in ruling on the victim’s request.