Jurris.COM

Chapter 1. The Judgment of California Penal Code >> Title 8. >> Part 2. >> Chapter 1.

In a felony case, after a plea, finding, or verdict of guilty, or after a finding or verdict against the defendant on a plea of a former conviction or acquittal, or once in jeopardy, the court shall appoint a time for pronouncing judgment, which shall be within 20 judicial days after the verdict, finding, or plea of guilty, during which time the court shall refer the case to the probation officer for a report if eligible for probation and pursuant to Section 1203. However, the court may extend the time not more than 10 days for the purpose of hearing or determining any motion for a new trial, or in arrest of judgment, and may further extend the time until the probation officer's report is received and until any proceedings for granting or denying probation have been disposed of. If, in the opinion of the court, there is a reasonable ground for believing a defendant insane, the court may extend the time for pronouncing sentence until the question of insanity has been heard and determined, as provided in this code. If the court orders the defendant placed in a diagnostic facility pursuant to Section 1203.03, the time otherwise allowed by this section for pronouncing judgment is extended by a period equal to (1) the number of days which elapse between the date of the order and the date on which notice is received from the Director of Corrections advising whether or not the Department of Corrections will receive the defendant in the facility, and (2) if the director notifies the court that it will receive the defendant, the time which elapses until his or her return to the court from the facility.
The victim of any crime, or the parents or guardians of the victim if the victim is a minor, or the next of kin of the victim if the victim has died, have the right to attend all sentencing proceedings under this chapter and shall be given adequate notice by the probation officer of all sentencing proceedings concerning the person who committed the crime. The victim, or up to two of the victim's parents or guardians if the victim is a minor, or the next of kin of the victim if the victim has died, have the right to appear, personally or by counsel, at the sentencing proceeding and to reasonably express his, her, or their views concerning the crime, the person responsible, and the need for restitution. The court in imposing sentence shall consider the statements of victims, parents or guardians, and next of kin made pursuant to this section and shall state on the record its conclusion concerning whether the person would pose a threat to public safety if granted probation. The provisions of this section shall not be amended by the Legislature except by statute passed in each house by rollcall vote entered in the journal, two-thirds of the membership concurring, or by a statute that becomes effective only when approved by the electors.
The definition of the term "victim" as used in Section 1191.1 includes any insurer or employer who was the victim of workers' compensation fraud for the crimes specified in Section 549 of this code, Sections 2314 and 6152 of the Business and Professions Code, Sections 1871.4, 11760, and 11880 of the Insurance Code, and Section 3215 of the Labor Code.
(a) The court may permit the victim of any crime, his or her parent or guardian if the victim is a minor, or the next of kin of the victim if the victim has died, to file with the court a written, audiotaped, or videotaped statement, or statement stored on a CD-ROM, DVD, or any other recording medium acceptable to the court, expressing his or her views concerning the crime, the person responsible, and the need for restitution, in lieu of or in addition to the person personally appearing at the time of judgment and sentence. The court shall consider the statement filed with the court prior to imposing judgment and sentence. Whenever an audio or video statement or statement stored on a CD-ROM, DVD, or other medium is filed with the court, a written transcript of the statement shall also be provided by the person filing the statement, and shall be made available as a public record of the court after the judgment and sentence have been imposed.
  (b) Whenever a written, audio, or video statement or statement stored on a CD-ROM, DVD, or other medium is filed with the court, it shall remain sealed until the time set for imposition of judgment and sentence except that the court, the probation officer, and counsel for the parties may view and listen to the statement not more than two court days prior to the date set for imposition of judgment and sentence.
  (c) A person or a court shall not permit any person to duplicate, copy, or reproduce by audio or visual means a statement submitted to the court under the provisions of this section.
  (d) Nothing in this section shall be construed to prohibit the prosecutor from representing to the court the views of the victim, his or her parent or guardian, the next of kin, or the California Victim Compensation and Government Claims Board.
  (e) In the event the court permits an audio or video statement or statement stored on a CD-ROM, DVD, or other medium to be filed, the court shall not be responsible for providing any equipment or resources needed to assist the victim in preparing the statement.
The victim of any crime, or the parents or guardians of the victim if the victim is a minor, or the next of kin of the victim if the victim has died, who choose to exercise their rights with respect to sentencing proceedings as described in Section 1191.1 may, in any case where the defendant is subject to an indeterminate term of imprisonment, have their statements simultaneously recorded and preserved by means of videotape, videodisc, or any other means of preserving audio and video, if they notify the prosecutor in advance of the sentencing hearing and the prosecutor reasonably is able to provide the means to record and preserve the statement. If a video and audio record is developed, that record shall be maintained and preserved by the prosecution and used in accordance with the regulations of the Board of Prison Terms at any hearing to review parole suitability or the setting of a parole date.
In providing notice to the victim pursuant to Section 1191.1, the probation officer shall also provide the victim with information concerning the victim's right to civil recovery against the defendant, the requirement that the court order restitution for the victim, the victim's right to receive a copy of the restitution order from the court and to enforce the restitution order as a civil judgment, the victim's responsibility to furnish the probation department, district attorney, and court with information relevant to his or her losses, and the victim's opportunity to be compensated from the Restitution Fund if eligible under Article 1 (commencing with Section 13959) of Chapter 5 of Part 4 of Division 3 of Title 2 of the Government Code. This information shall be in the form of written material prepared by the Judicial Council in consultation with the California Victim Compensation and Government Claims Board, shall include the relevant sections of the Penal Code, and shall be provided to each victim for whom the probation officer has a current mailing address.
(a) (1) The Office of Emergency Services shall develop and make available a "notification of eligibility" card for victims and derivative victims of crimes as defined in subdivision (c) of Section 13960 of the Government Code that includes, but is not limited to, the following information: "If you have been the victim of a crime that meets the required definition, you or others may be eligible to receive payment from the California State Restitution Fund for losses directly resulting from the crime. To learn about eligibility and receive an application to receive payments, call the Victims of Crime Program at (800) 777-9229 or call your local county Victim Witness Assistance Center."
(2) At a minimum, the Office of Emergency Services shall develop a template available for downloading on its Internet Web site the information requested in subdivision (b).
  (b) In a case involving a crime as defined in subdivision (c) of Section 13960 of the Government Code, the law enforcement officer with primary responsibility for investigating the crime committed against the victim and the district attorney may provide the "notification of eligibility" card to the victim and derivative victim of a crime.
  (c) The terms "victim" and "derivative victim" shall be given the same meaning given those terms in Section 13960 of the Government Code.
The prosecution shall make a good faith attempt to notify any victim of a crime which was committed by, or is alleged to have been committed by, an in-custody informant, as defined in subdivision (a) of Section 1127a, within a reasonable time before the in-custody informant is called to testify. The notice shall include information concerning the prosecution's intention to offer the in-custody informant a modification or reduction in sentence or dismissal of the case or early parole in exchange for the in-custody informant's testimony in another case. The notification or attempt to notify the victim shall be made prior to the commencement of the trial in which the in-custody informant is to testify where the intention to call him or her is known at that time, but in no case shall the notice be made later than the time the in-custody informant is called to the stand. Nothing contained in this section is intended to affect the right of the people and the defendant to an expeditious disposition of a criminal proceeding, as provided in Section 1050. The victim of any case alleged to have been committed by the in-custody informant may exercise his or her right to appear at the sentencing of the in-custody informant pursuant to Section 1191.1, but the victim shall not have a right to intervene in the trial in which the in-custody informant is called to testify.
(a) At the time of sentencing or pronouncement of judgment in which sentencing is imposed, the court shall make an oral statement that statutory law permits the award of conduct and worktime credits up to one-third or one-half of the sentence that is imposed by the court, that the award and calculation of credits is determined by the sheriff in cases involving imprisonment in county jails and by the Department of Corrections in cases involving imprisonment in the state prison, and that credit for presentence incarceration served by the defendant is calculated by the probation department under current state law. As used in this section, "victim" means the victim of the offense, the victim's parent or guardian if the victim is a minor, or the victim's next of kin.
  (b) The probation officer shall provide a general estimate of the credits to which the defendant may be entitled for previous time served, and conduct or worktime credits authorized under Sections 2931, 2933, or 4019, and shall inform the victim pursuant to Section 1191.1. The probation officer shall file this estimate with the court and it shall become a part of the court record.
  (c) This section applies to all felony convictions.
Upon a plea of guilty, or upon conviction by the court without a jury, of a crime or attempted crime distinguished or divided into degrees, the court must, before passing sentence, determine the degree. Upon the failure of the court to so determine, the degree of the crime or attempted crime of which the defendant is guilty, shall be deemed to be of the lesser degree.
Upon a plea of guilty to an information or indictment accusing the defendant of a crime or attempted crime divided into degrees when consented to by the prosecuting attorney in open court and approved by the court, such plea may specify the degree thereof and in such event the defendant cannot be punished for a higher degree of the crime or attempted crime than the degree specified.
Upon a plea of guilty before a committing magistrate as provided in Section 859a, to a crime or attempted crime divided into degrees, when consented to by the prosecuting attorney in open court and approved by such magistrate, such plea may specify the degree thereof and in such event, the defendant cannot be punished for a higher degree of the crime or attempted crime than the degree specified.
(a) A plea of guilty or nolo contendere to an accusatory pleading charging a public offense, other than a felony specified in Section 1192.5 or 1192.7, which public offense did not result in damage for which restitution may be ordered, made on the condition that charges be dismissed for one or more public offenses arising from the same or related course of conduct by the defendant which did result in damage for which restitution may be ordered, may specify the payment of restitution by the defendant as a condition of the plea or any probation granted pursuant thereto, so long as the plea is freely and voluntarily made, there is factual basis for the plea, and the plea and all conditions are approved by the court.
  (b) If restitution is imposed which is attributable to a count dismissed pursuant to a plea bargain, as described in this section, the court shall obtain a waiver pursuant to People v. Harvey (1979) 25 Cal. 3d 754 from the defendant as to the dismissed count.
If the defendant's plea of guilty pursuant to Section 1192.1 or 1192.2 is not accepted by the prosecuting attorney and approved by the court, the plea shall be deemed withdrawn and the defendant may then enter such plea or pleas as would otherwise have been available. The plea so withdrawn may not be received in evidence in any criminal, civil, or special action or proceeding of any nature, including proceedings before agencies, commissions, boards, and tribunals.
Upon a plea of guilty or nolo contendere to an accusatory pleading charging a felony, other than a violation of paragraph (2), (3), or (6) of subdivision (a) of Section 261, paragraph (1) or (4) of subdivision (a) of Section 262, Section 264.1, Section 286 by force, violence, duress, menace or threat of great bodily harm, subdivision (b) of Section 288, Section 288a by force, violence, duress, menace or threat of great bodily harm, or subdivision (a) of Section 289, the plea may specify the punishment to the same extent as it may be specified by the jury on a plea of not guilty or fixed by the court on a plea of guilty, nolo contendere, or not guilty, and may specify the exercise by the court thereafter of other powers legally available to it. Where the plea is accepted by the prosecuting attorney in open court and is approved by the court, the defendant, except as otherwise provided in this section, cannot be sentenced on the plea to a punishment more severe than that specified in the plea and the court may not proceed as to the plea other than as specified in the plea. If the court approves of the plea, it shall inform the defendant prior to the making of the plea that (1) its approval is not binding, (2) it may, at the time set for the hearing on the application for probation or pronouncement of judgment, withdraw its approval in the light of further consideration of the matter, and (3) in that case, the defendant shall be permitted to withdraw his or her plea if he or she desires to do so. The court shall also cause an inquiry to be made of the defendant to satisfy itself that the plea is freely and voluntarily made, and that there is a factual basis for the plea. If the plea is not accepted by the prosecuting attorney and approved by the court, the plea shall be deemed withdrawn and the defendant may then enter the plea or pleas as would otherwise have been available. If the plea is withdrawn or deemed withdrawn, it may not be received in evidence in any criminal, civil, or special action or proceeding of any nature, including proceedings before agencies, commissions, boards, and tribunals.
(a) In each felony case in which the charges contained in the original accusatory pleading are amended or dismissed, the record shall contain a statement explaining the reason for the amendment or dismissal.
  (b) In each felony case in which the prosecuting attorney seeks a dismissal of a charge in the complaint, indictment, or information, he or she shall state the specific reasons for the dismissal in open court, on the record.
  (c) When, upon a plea of guilty or nolo contendere to an accusatory pleading charging a felony, whether or not that plea is entered pursuant to Section 1192.5, the prosecuting attorney recommends what punishment the court should impose or how it should exercise any of the powers legally available to it, the prosecuting attorney shall state the specific reasons for the recommendation in open court, on the record. The reasons for the recommendation shall be transcribed and made part of the court file.
(a) (1) It is the intent of the Legislature that district attorneys prosecute violent sex crimes under statutes that provide sentencing under a "one strike," "three strikes" or habitual sex offender statute instead of engaging in plea bargaining over those offenses.
  (2) Plea bargaining in any case in which the indictment or information charges any serious felony, any felony in which it is alleged that a firearm was personally used by the defendant, or any offense of driving while under the influence of alcohol, drugs, narcotics, or any other intoxicating substance, or any combination thereof, is prohibited, unless there is insufficient evidence to prove the people's case, or testimony of a material witness cannot be obtained, or a reduction or dismissal would not result in a substantial change in sentence.
  (3) If the indictment or information charges the defendant with a violent sex crime, as listed in subdivision (c) of Section 667.61, that could be prosecuted under Sections 269, 288.7, subdivisions (b) through (i) of Section 667, Section 667.61, or 667.71, plea bargaining is prohibited unless there is insufficient evidence to prove the people's case, or testimony of a material witness cannot be obtained, or a reduction or dismissal would not result in a substantial change in sentence. At the time of presenting the agreement to the court, the district attorney shall state on the record why a sentence under one of those sections was not sought.
  (b) As used in this section "plea bargaining" means any bargaining, negotiation, or discussion between a criminal defendant, or his or her counsel, and a prosecuting attorney or judge, whereby the defendant agrees to plead guilty or nolo contendere, in exchange for any promises, commitments, concessions, assurances, or consideration by the prosecuting attorney or judge relating to any charge against the defendant or to the sentencing of the defendant.
  (c) As used in this section, "serious felony" means any of the following:
  (1) Murder or voluntary manslaughter; (2) mayhem; (3) rape; (4) sodomy by force, violence, duress, menace, threat of great bodily injury, or fear of immediate and unlawful bodily injury on the victim or another person; (5) oral copulation by force, violence, duress, menace, threat of great bodily injury, or fear of immediate and unlawful bodily injury on the victim or another person; (6) lewd or lascivious act on a child under 14 years of age; (7) any felony punishable by death or imprisonment in the state prison for life; (8) any felony in which the defendant personally inflicts great bodily injury on any person, other than an accomplice, or any felony in which the defendant personally uses a firearm; (9) attempted murder; (10) assault with intent to commit rape or robbery; (11) assault with a deadly weapon or instrument on a peace officer; (12) assault by a life prisoner on a noninmate; (13) assault with a deadly weapon by an inmate; (14) arson; (15) exploding a destructive device or any explosive with intent to injure; (16) exploding a destructive device or any explosive causing bodily injury, great bodily injury, or mayhem; (17) exploding a destructive device or any explosive with intent to murder; (18) any burglary of the first degree; (19) robbery or bank robbery; (20) kidnapping; (21) holding of a hostage by a person confined in a state prison; (22) attempt to commit a felony punishable by death or imprisonment in the state prison for life; (23) any felony in which the defendant personally used a dangerous or deadly weapon; (24) selling, furnishing, administering, giving, or offering to sell, furnish, administer, or give to a minor any heroin, cocaine, phencyclidine (PCP), or any methamphetamine-related drug, as described in paragraph (2) of subdivision (d) of Section 11055 of the Health and Safety Code, or any of the precursors of methamphetamines, as described in subparagraph (A) of paragraph (1) of subdivision (f) of Section 11055 or subdivision (a) of Section 11100 of the Health and Safety Code; (25) any violation of subdivision (a) of Section 289 where the act is accomplished against the victim's will by force, violence, duress, menace, or fear of immediate and unlawful bodily injury on the victim or another person; (26) grand theft involving a firearm; (27) carjacking; (28) any felony offense, which would also constitute a felony violation of Section 186.22; (29) assault with the intent to commit mayhem, rape, sodomy, or oral copulation, in violation of Section 220; (30) throwing acid or flammable substances, in violation of Section 244; (31) assault with a deadly weapon, firearm, machinegun, assault weapon, or semiautomatic firearm or assault on a peace officer or firefighter, in violation of Section 245; (32) assault with a deadly weapon against a public transit employee, custodial officer, or school employee, in violation of Section 245.2, 245.3, or 245.5; (33) discharge of a firearm at an inhabited dwelling, vehicle, or aircraft, in violation of Section 246; (34) commission of rape or sexual penetration in concert with another person, in violation of Section 264.1; (35) continuous sexual abuse of a child, in violation of Section 288.5; (36) shooting from a vehicle, in violation of subdivision (c) or (d) of Section 26100; (37) intimidation of victims or witnesses, in violation of Section 136.1; (38) criminal threats, in violation of Section 422; (39) any attempt to commit a crime listed in this subdivision other than an assault; (40) any violation of Section 12022.53; (41) a violation of subdivision (b) or (c) of Section 11418; and (42) any conspiracy to commit an offense described in this subdivision.
  (d) As used in this section, "bank robbery" means to take or attempt to take, by force or violence, or by intimidation from the person or presence of another any property or money or any other thing of value belonging to, or in the care, custody, control, management, or possession of, any bank, credit union, or any savings and loan association. As used in this subdivision, the following terms have the following meanings:
  (1) "Bank" means any member of the Federal Reserve System, and any bank, banking association, trust company, savings bank, or other banking institution organized or operating under the laws of the United States, and any bank the deposits of which are insured by the Federal Deposit Insurance Corporation.
  (2) "Savings and loan association" means any federal savings and loan association and any "insured institution" as defined in Section 401 of the National Housing Act, as amended, and any federal credit union as defined in Section 2 of the Federal Credit Union Act.
  (3) "Credit union" means any federal credit union and any state-chartered credit union the accounts of which are insured by the Administrator of the National Credit Union administration.
  (e) The provisions of this section shall not be amended by the Legislature except by statute passed in each house by rollcall vote entered in the journal, two-thirds of the membership concurring, or by a statute that becomes effective only when approved by the electors.
(a) For purposes of subdivision (c) of Section 1192.7, "serious felony" also means any violation of Section 191.5, paragraph (1) of subdivision (c) of Section 192, subdivision (a), (b), or (c) of Section 192.5 of this code, or Section 2800.3, subdivision (b) of Section 23104, or Section 23153 of the Vehicle Code, when any of these offenses involve the personal infliction of great bodily injury on any person other than an accomplice, or the personal use of a dangerous or deadly weapon, within the meaning of paragraph (8) or (23) of subdivision (c) of Section 1192.7.
  (b) It is the intent of the Legislature, in enacting subdivision (a), to codify the court decisions of People v. Gonzales, 29 Cal. App. 4th 1684, and People v. Bow, 13 Cal. App. 4th 1551, and to clarify that the crimes specified in subdivision (a) have always been, and continue to be, serious felonies within the meaning of subdivision (c) of Section 1192.7.
Judgment upon persons convicted of commission of crime shall be pronounced as follows:
  (a) If the conviction is for a felony, the defendant shall be personally present when judgment is pronounced against him or her, unless the defendant, in open court and on the record, or in a notarized writing, requests that judgment be pronounced against him or her in his or her absence, and that he or she be represented by an attorney when judgment is pronounced, and the court approves his or her absence during the pronouncement of judgment, or unless, after the exercise of reasonable diligence to procure the presence of the defendant, the court shall find that it will be in the interest of justice that judgment be pronounced in his or her absence; provided, that when any judgment imposing the death penalty has been affirmed by the appellate court, sentence may be reimposed upon the defendant in his or her absence by the court from which the appeal was taken, and in the following manner: upon receipt by the superior court from which the appeal is taken of the certificate of the appellate court affirming the judgment, the judge of the superior court shall forthwith make and cause to be entered an order pronouncing sentence against the defendant, and a warrant signed by the judge, and attested by the clerk under the seal of the court, shall be drawn, and it shall state the conviction and judgment and appoint a day upon which the judgment shall be executed, which shall not be less than 60 days nor more than 90 days from the time of making the order; and that, within five days thereafter, a certified copy of the order, attested by the clerk under the seal of the court, and attached to the warrant, shall, for the purpose of execution, be transmitted by registered mail to the warden of the state prison having the custody of the defendant and certified copies thereof shall be transmitted by registered mail to the Governor; and provided further, that when any judgment imposing the death penalty has been affirmed and sentence has been reimposed as above provided there shall be no appeal from the order fixing the time for and directing the execution of the judgment as herein provided. If a pro se defendant requests that judgment in a noncapital case be pronounced against him or her in his or her absence, the court shall appoint an attorney to represent the defendant in the in absentia sentencing.
  (b) If the conviction be of a misdemeanor, judgment may be pronounced against the defendant in his absence.
When the defendant is in custody, the Court may direct the officer in whose custody he is to bring him before it for judgment, and the officer must do so.
If the defendant has been released on bail, or has deposited money or property instead thereof, and does not appear for judgment when his personal appearance is necessary, the court, in addition to the forfeiture of the undertaking of bail, or of the money or property deposited, must, on application of the prosecuting attorney, direct the issuance of a bench warrant for the arrest of the defendant. If the defendant, who is on bail, does appear for judgment and judgment is pronounced upon him or probation is granted to him, then the bail shall be exonerated or, if money or property has been deposited instead of bail, it must be returned to the defendant or to the person or persons found by the court to have deposited said money or property on behalf of said defendant.
(a) The clerk must, at any time after the order, issue a bench warrant into one or more counties.
  (b) The clerk shall require the appropriate agency to enter each bench warrant issued on a private surety-bonded felony case into the national warrant system (National Crime Information Center (NCIC)). If the appropriate agency fails to enter the bench warrant into the national warrant system (NCIC), and the court finds that this failure prevented the surety or bond agent from surrendering the fugitive into custody, prevented the fugitive from being arrested or taken into custody, or resulted in the fugitive's subsequent release from custody, the court having jurisdiction over the bail shall, upon petition, set aside the forfeiture of the bond and declare all liability on the bail bond to be exonerated.
The bench warrant must be substantially in the following form:
County of ____ The people of the State of California to any peace officer in this State: ______ (name of defendant) having been on the ____ day of ____, 19_, duly convicted in the ____ court of ____ (naming the court) of the crime of ____ (designating it generally), you are therefore commanded forthwith to arrest the above named defendant and bring him before that court for judgment. Given under my hand with the seal of said court affixed, this ____ day of ____, 19_. By order of said court. ____________________
  (SEAL) Clerk (or Judge, or Justice)
The bench warrant may be served in any county in the same manner as a warrant of arrest.
Whether the bench warrant is served in the county in which it was issued or in another county, the officer must arrest the defendant and bring him before the court, or deliver him to any peace officer of the county from which the warrant issued, who must bring him before said court according to the command thereof.
When the defendant appears for judgment he must be informed by the Court, or by the Clerk, under its direction, of the nature of the charge against him and of his plea, and the verdict, if any thereon, and must be asked whether he has any legal cause to show why judgment should not be pronounced against him.
He or she may show, for cause against the judgment:
  (a) That he or she is insane; and if, in the opinion of the court, there is reasonable ground for believing him or her insane, the question of insanity shall be tried as provided in Chapter 6 (commencing with Section 1367) of Title 10 of Part 2. If, upon the trial of that question, the jury finds that he or she is sane, judgment shall be pronounced, but if they find him or her insane, he or she shall be committed to the state hospital for the care and treatment of the insane, until he or she becomes sane; and when notice is given of that fact, as provided in Section 1372, he or she shall be brought before the court for judgment.
  (b) That he or she has good cause to offer, either in arrest of judgment or for a new trial; in which case the court may, in its discretion, order the judgment to be deferred, and proceed to decide upon the motion in arrest of judgment or for a new trial.
(a) Upon the conviction of a defendant for a sexual offense involving a minor victim or, in the case of a minor appearing in juvenile court, if a petition is admitted or sustained for a sexual offense involving a minor victim, the court is authorized to issue orders that would prohibit the defendant or juvenile, for a period up to 10 years, from harassing, intimidating, or threatening the victim or the victim's family members or spouse.
  (b) No order issued pursuant to this section shall be interpreted to apply to counsel acting on behalf of the defendant or juvenile, or to investigators working on behalf of counsel, in an action relating to a conviction, petition in juvenile court, or any civil action arising therefrom, provided, however, that no counsel or investigator shall harass or threaten any person protected by an order issued pursuant to subdivision (a).
  (c) Notice of the intent to request an order pursuant to this section shall be given to counsel for the defendant or juvenile by the prosecutor or the court at the time of conviction, or disposition of the petition in juvenile court, and counsel shall have adequate time in which to respond to the request before the order is made.
  (d) A violation of an order issued pursuant to subdivision (a) is punishable as provided in Section 166.
Any motions made subsequent to judgment must be made only upon written notice served upon the prosecution at least three days prior to the date of hearing thereon. No affidavit or other writing shall be presented or considered in support thereof unless a copy of the same has been duly served upon the prosecution at least three days prior to a hearing thereon. Any appeal from an order entered upon a motion made other than as herein provided, must be dismissed by the court.
If no sufficient cause is alleged or appears to the court at the time fixed for pronouncing judgment, as provided in Section 1191, why judgment should not be pronounced, it shall thereupon be rendered; and if not rendered or pronounced within the time so fixed or to which it is continued under the provisions of Section 1191, then the defendant shall be entitled to a new trial. If the court shall refuse to hear a defendant's motion for a new trial or when made shall neglect to determine such motion before pronouncing judgment or the making of an order granting probation, then the defendant shall be entitled to a new trial.
1202a. If the judgment is for imprisonment in the state prison the judgment shall direct that the defendant be delivered into the custody of the Director of Corrections at the state prison or institution designated by the Director of Corrections as the place for the reception of persons convicted of felonies, except where the judgment is for death in which case the defendant shall be taken to the warden of the California State Prison at San Quentin. Unless a different place or places are so designated by the Director of Corrections, the judgment shall direct that the defendant be delivered into the custody of the Director of Corrections at the California State Prison at San Quentin. The Director of Corrections shall designate a place or places for the reception of persons convicted of felonies by order, which order or orders shall be served by registered mail, return receipt requested, upon each judge of each superior court in the state. The Director of Corrections may change the place or places of commitment by the issuance of a new order. Nothing contained in this section affects any provision of Section 3400.
(a) Whenever a person is sentenced to the state prison on or after January 1, 1993, for violating Section 261, 264.1, 266c, 285, 286, 288, 288a, 288.5, or 289, and the victim of one or more of those offenses is a child under the age of 18 years, the court shall prohibit all visitation between the defendant and the child victim. The court's order shall be transmitted to the Department of Corrections, to the parents, adoptive parents, or guardians, or a combination thereof, of the child victim, and to the child victim. If any parent, adoptive parent, or legal guardian of the child victim, or the child victim objects to the court's order, he or she may request a hearing on the matter. Any request for a hearing on the matter filed with the sentencing court shall be referred to the appropriate juvenile court pursuant to Section 362.6 of the Welfare and Institutions Code.
  (b) The Department of Corrections is authorized to notify the sentencing court of persons who were sentenced to the state prison prior to January 1, 1993, for violating Section 261, 264.1, 266c, 285, 286, 288, 288a, 288.5, or 289, when the victim of one or more of those offenses was a child under the age of 18 years. Upon notification by the department pursuant to this subdivision, the sentencing court shall prohibit all visitation between the defendant and the child victim, according to the procedures specified in subdivision (a).
(a) Notwithstanding Sections 120975 and 120990 of the Health and Safety Code, the court shall order every person who is convicted of, or adjudged by the court to be a person described by Section 601 or 602 of the Welfare and Institutions Code as provided in Section 725 of the Welfare and Institutions Code by reason of a violation of, a sexual offense listed in subdivision (e), whether or not a sentence or fine is imposed or probation is granted, to submit to a blood or oral mucosal transudate saliva test for evidence of antibodies to the probable causative agent of acquired immune deficiency syndrome (AIDS) within 180 days of the date of conviction. Each person tested under this section shall be informed of the results of the blood or oral mucosal transudate saliva test.
  (b) Notwithstanding Section 120980 of the Health and Safety Code, the results of the blood or oral mucosal transudate saliva test to detect antibodies to the probable causative agent of AIDS shall be transmitted by the clerk of the court to the Department of Justice and the local health officer.
  (c) Notwithstanding Section 120980 of the Health and Safety Code, the Department of Justice shall provide the results of a test or tests as to persons under investigation or being prosecuted under Section 647f or 12022.85, if the results are on file with the department, to the defense attorney upon request and the results also shall be available to the prosecuting attorney upon request for the purpose of either preparing counts for a subsequent offense under Section 647f or sentence enhancement under Section 12022.85 or complying with subdivision (d).
  (d) (1) In every case in which a person is convicted of a sexual offense listed in subdivision (e) or adjudged by the court to be a person described by Section 601 or 602 of the Welfare and Institutions Code as provided in Section 725 of the Welfare and Institutions Code by reason of the commission of a sexual offense listed in subdivision (e), the prosecutor or the prosecutor's victim-witness assistance bureau shall advise the victim of his or her right to receive the results of the blood or oral mucosal transudate saliva test performed pursuant to subdivision (a). The prosecutor or the prosecutor's victim-witness assistance bureau shall refer the victim to the local health officer for counseling to assist him or her in understanding the extent to which the particular circumstances of the crime may or may not have placed the victim at risk of transmission of the human immunodeficiency virus (HIV) from the accused, to ensure that the victim understands the limitations and benefits of current tests for HIV, and to assist the victim in determining whether he or she should make the request.
  (2) Notwithstanding any other law, upon the victim's request, the local health officer shall be responsible for disclosing test results to the victim who requested the test and the person who was tested. However, as specified in subdivision (g), positive test results shall not be disclosed to the victim or the person who was tested without offering or providing professional counseling appropriate to the circumstances as follows:
  (A) To help the victim understand the extent to which the particular circumstances of the crime may or may not have put the victim at risk of transmission of HIV from the perpetrator.
  (B) To ensure that the victim understands both the benefits and limitations of the current tests for HIV.
  (C) To obtain referrals to appropriate health care and support services.
  (e) For purposes of this section, "sexual offense" includes any of the following:
  (1) Rape in violation of Section 261 or 264.1.
  (2) Unlawful intercourse with a person under 18 years of age in violation of Section 261.5 or 266c.
  (3) Rape of a spouse in violation of Section 262 or 264.1.
  (4) Sodomy in violation of Section 266c or 286.
  (5) Oral copulation in violation of Section 266c or 288a.
  (6) (A) Any of the following offenses if the court finds that there is probable cause to believe that blood, semen, or any other bodily fluid capable of transmitting HIV has been transferred from the defendant to the victim:
  (i) Sexual penetration in violation of Section 264.1, 266c, or 289.
  (ii) Aggravated sexual assault of a child in violation of Section 269.
  (iii) Lewd or lascivious conduct with a child in violation of Section 288.
  (iv) Continuous sexual abuse of a child in violation of Section 288.5.
  (v) The attempt to commit any offense described in clauses (i) to (iv), inclusive.
  (B) For purposes of this paragraph, the court shall note its finding on the court docket and minute order if one is prepared.
  (f) Any blood or oral mucosal transudate saliva tested pursuant to subdivision (a) shall be subjected to appropriate confirmatory tests to ensure accuracy of the first test results, and under no circumstances shall test results be transmitted to the victim or the person who is tested unless any initially reactive test result has been confirmed by appropriate confirmatory tests for positive reactors.
  (g) The local health officer shall be responsible for disclosing test results to the victim who requested the test and the person who was tested. However, positive test results shall not be disclosed to the victim or the person who was tested without offering or providing professional counseling appropriate to the circumstances.
  (h) The local health officer and the victim shall comply with all laws and policies relating to medical confidentiality, subject to the disclosure authorized by subdivisions (g) and (i).
  (i) Any victim who receives information from the local health officer pursuant to subdivision (g) may disclose the information as he or she deems necessary to protect his or her health and safety or the health and safety of his or her family or sexual partner.
  (j) Any person who transmits test results or discloses information pursuant to this section shall be immune from civil liability for any action taken in compliance with this section.
(a) (1) It is the intent of the Legislature that a victim of crime who incurs an economic loss as a result of the commission of a crime shall receive restitution directly from a defendant convicted of that crime.
  (2) Upon a person being convicted of a crime in the State of California, the court shall order the defendant to pay a fine in the form of a penalty assessment in accordance with Section 1464.
  (3) The court, in addition to any other penalty provided or imposed under the law, shall order the defendant to pay both of the following:
  (A) A restitution fine in accordance with subdivision (b).
  (B) Restitution to the victim or victims, if any, in accordance with subdivision (f), which shall be enforceable as if the order were a civil judgment.
  (b) In every case where a person is convicted of a crime, the court shall impose a separate and additional restitution fine, unless it finds compelling and extraordinary reasons for not doing so and states those reasons on the record.
  (1) The restitution fine shall be set at the discretion of the court and commensurate with the seriousness of the offense. If the person is convicted of a felony, the fine shall not be less than two hundred forty dollars ($240) starting on January 1, 2012, two hundred eighty dollars ($280) starting on January 1, 2013, and three hundred dollars ($300) starting on January 1, 2014, and not more than ten thousand dollars ($10,000). If the person is convicted of a misdemeanor, the fine shall not be less than one hundred twenty dollars ($120) starting on January 1, 2012, one hundred forty dollars ($140) starting on January 1, 2013, and one hundred fifty dollars ($150) starting on January 1, 2014, and not more than one thousand dollars ($1,000).
  (2) In setting a felony restitution fine, the court may determine the amount of the fine as the product of the minimum fine pursuant to paragraph (1) multiplied by the number of years of imprisonment the defendant is ordered to serve, multiplied by the number of felony counts of which the defendant is convicted.
  (c) The court shall impose the restitution fine unless it finds compelling and extraordinary reasons for not doing so and states those reasons on the record. A defendant's inability to pay shall not be considered a compelling and extraordinary reason not to impose a restitution fine. Inability to pay may be considered only in increasing the amount of the restitution fine in excess of the minimum fine pursuant to paragraph (1) of subdivision (b). The court may specify that funds confiscated at the time of the defendant's arrest, except for funds confiscated pursuant to Section 11469 of the Health and Safety Code, be applied to the restitution fine if the funds are not exempt for spousal or child support or subject to any other legal exemption.
  (d) In setting the amount of the fine pursuant to subdivision (b) in excess of the minimum fine pursuant to paragraph (1) of subdivision (b), the court shall consider any relevant factors, including, but not limited to, the defendant's inability to pay, the seriousness and gravity of the offense and the circumstances of its commission, any economic gain derived by the defendant as a result of the crime, the extent to which any other person suffered losses as a result of the crime, and the number of victims involved in the crime. Those losses may include pecuniary losses to the victim or his or her dependents as well as intangible losses, such as psychological harm caused by the crime. Consideration of a defendant' s inability to pay may include his or her future earning capacity. A defendant shall bear the burden of demonstrating his or her inability to pay. Express findings by the court as to the factors bearing on the amount of the fine shall not be required. A separate hearing for the fine shall not be required.
  (e) The restitution fine shall not be subject to penalty assessments authorized in Section 1464 or Chapter 12 (commencing with Section 76000) of Title 8 of the Government Code, or the state surcharge authorized in Section 1465.7, and shall be deposited in the Restitution Fund in the State Treasury.
  (f) Except as provided in subdivisions (q) and (r), in every case in which a victim has suffered economic loss as a result of the defendant's conduct, the court shall require that the defendant make restitution to the victim or victims in an amount established by court order, based on the amount of loss claimed by the victim or victims or any other showing to the court. If the amount of loss cannot be ascertained at the time of sentencing, the restitution order shall include a provision that the amount shall be determined at the direction of the court. The court shall order full restitution unless it finds compelling and extraordinary reasons for not doing so and states them on the record. The court may specify that funds confiscated at the time of the defendant's arrest, except for funds confiscated pursuant to Section 11469 of the Health and Safety Code, be applied to the restitution order if the funds are not exempt for spousal or child support or subject to any other legal exemption.
  (1) The defendant has the right to a hearing before a judge to dispute the determination of the amount of restitution. The court may modify the amount, on its own motion or on the motion of the district attorney, the victim or victims, or the defendant. If a motion is made for modification of a restitution order, the victim shall be notified of that motion at least 10 days prior to the proceeding held to decide the motion. A victim at a restitution hearing or modification hearing described in this paragraph may testify by live, two-way audio and video transmission, if testimony by live, two-way audio and video transmission is available at the court.
  (2) Determination of the amount of restitution ordered pursuant to this subdivision shall not be affected by the indemnification or subrogation rights of a third party. Restitution ordered pursuant to this subdivision shall be ordered to be deposited to the Restitution Fund to the extent that the victim, as defined in subdivision (k), has received assistance from the California Victim Compensation and Government Claims Board pursuant to Chapter 5 (commencing with Section 13950) of Part 4 of Division 3 of Title 2 of the Government Code.
  (3) To the extent possible, the restitution order shall be prepared by the sentencing court, shall identify each victim and each loss to which it pertains, and shall be of a dollar amount that is sufficient to fully reimburse the victim or victims for every determined economic loss incurred as the result of the defendant's criminal conduct, including, but not limited to, all of the following:
  (A) Full or partial payment for the value of stolen or damaged property. The value of stolen or damaged property shall be the replacement cost of like property, or the actual cost of repairing the property when repair is possible.
  (B) Medical expenses.
  (C) Mental health counseling expenses.
  (D) Wages or profits lost due to injury incurred by the victim, and if the victim is a minor, wages or profits lost by the minor's parent, parents, guardian, or guardians, while caring for the injured minor. Lost wages shall include commission income as well as base wages. Commission income shall be established by evidence of commission income during the 12-month period prior to the date of the crime for which restitution is being ordered, unless good cause for a shorter time period is shown.
  (E) Wages or profits lost by the victim, and if the victim is a minor, wages or profits lost by the minor's parent, parents, guardian, or guardians, due to time spent as a witness or in assisting the police or prosecution. Lost wages shall include commission income as well as base wages. Commission income shall be established by evidence of commission income during the 12-month period prior to the date of the crime for which restitution is being ordered, unless good cause for a shorter time period is shown.
  (F) Noneconomic losses, including, but not limited to, psychological harm, for felony violations of Section 288.
  (G) Interest, at the rate of 10 percent per annum, that accrues as of the date of sentencing or loss, as determined by the court.
  (H) Actual and reasonable attorney's fees and other costs of collection accrued by a private entity on behalf of the victim.
  (I) Expenses incurred by an adult victim in relocating away from the defendant, including, but not limited to, deposits for utilities and telephone service, deposits for rental housing, temporary lodging and food expenses, clothing, and personal items. Expenses incurred pursuant to this section shall be verified by law enforcement to be necessary for the personal safety of the victim or by a mental health treatment provider to be necessary for the emotional well-being of the victim.
  (J) Expenses to install or increase residential security incurred related to a violent felony, as defined in subdivision (c) of Section 667.5, including, but not limited to, a home security device or system, or replacing or increasing the number of locks.
  (K) Expenses to retrofit a residence or vehicle, or both, to make the residence accessible to or the vehicle operational by the victim, if the victim is permanently disabled, whether the disability is partial or total, as a direct result of the crime.
  (L) Expenses for a period of time reasonably necessary to make the victim whole, for the costs to monitor the credit report of, and for the costs to repair the credit of, a victim of identity theft, as defined in Section 530.5.
  (4) (A) If, as a result of the defendant's conduct, the Restitution Fund has provided assistance to or on behalf of a victim or derivative victim pursuant to Chapter 5 (commencing with Section 13950) of Part 4 of Division 3 of Title 2 of the Government Code, the amount of assistance provided shall be presumed to be a direct result of the defendant's criminal conduct and shall be included in the amount of the restitution ordered.
  (B) The amount of assistance provided by the Restitution Fund shall be established by copies of bills submitted to the California Victim Compensation and Government Claims Board reflecting the amount paid by the board and whether the services for which payment was made were for medical or dental expenses, funeral or burial expenses, mental health counseling, wage or support losses, or rehabilitation. Certified copies of these bills provided by the board and redacted to protect the privacy and safety of the victim or any legal privilege, together with a statement made under penalty of perjury by the custodian of records that those bills were submitted to and were paid by the board, shall be sufficient to meet this requirement.
  (C) If the defendant offers evidence to rebut the presumption established by this paragraph, the court may release additional information contained in the records of the board to the defendant only after reviewing that information in camera and finding that the information is necessary for the defendant to dispute the amount of the restitution order.
  (5) Except as provided in paragraph (6), in any case in which an order may be entered pursuant to this subdivision, the defendant shall prepare and file a disclosure identifying all assets, income, and liabilities in which the defendant held or controlled a present or future interest as of the date of the defendant's arrest for the crime for which restitution may be ordered. The financial disclosure statements shall be made available to the victim and the board pursuant to Section 1214. The disclosure shall be signed by the defendant upon a form approved or adopted by the Judicial Council for the purpose of facilitating the disclosure. A defendant who willfully states as true a material matter that he or she knows to be false on the disclosure required by this subdivision is guilty of a misdemeanor, unless this conduct is punishable as perjury or another provision of law provides for a greater penalty.
  (6) A defendant who fails to file the financial disclosure required in paragraph (5), but who has filed a financial affidavit or financial information pursuant to subdivision (c) of Section 987, shall be deemed to have waived the confidentiality of that affidavit or financial information as to a victim in whose favor the order of restitution is entered pursuant to subdivision (f). The affidavit or information shall serve in lieu of the financial disclosure required in paragraph (5), and paragraphs (7) to (10), inclusive, shall not apply.
  (7) Except as provided in paragraph (6), the defendant shall file the disclosure with the clerk of the court no later than the date set for the defendant's sentencing, unless otherwise directed by the court. The disclosure may be inspected or copied as provided by subdivision (b), (c), or (d) of Section 1203.05.
  (8) In its discretion, the court may relieve the defendant of the duty under paragraph (7) of filing with the clerk by requiring that the defendant's disclosure be submitted as an attachment to, and be available to, those authorized to receive the following:
  (A) A report submitted pursuant to subparagraph (C) of paragraph (2) of subdivision (b) of Section 1203 or subdivision (g) of Section 1203.
  (B) A stipulation submitted pursuant to paragraph (4) of subdivision (b) of Section 1203.
  (C) A report by the probation officer, or information submitted by the defendant applying for a conditional sentence pursuant to subdivision (d) of Section 1203.
  (9) The court may consider a defendant's unreasonable failure to make a complete disclosure pursuant to paragraph (5) as any of the following:
  (A) A circumstance in aggravation of the crime in imposing a term under subdivision (b) of Section 1170.
  (B) A factor indicating that the interests of justice would not be served by admitting the defendant to probation under Section 1203.
  (C) A factor indicating that the interests of justice would not be served by conditionally sentencing the defendant under Section 1203.
  (D) A factor indicating that the interests of justice would not be served by imposing less than the maximum fine and sentence fixed by law for the case.
  (10) A defendant's failure or refusal to make the required disclosure pursuant to paragraph (5) shall not delay entry of an order of restitution or pronouncement of sentence. In appropriate cases, the court may do any of the following:
  (A) Require the defendant to be examined by the district attorney pursuant to subdivision (h).
  (B) If sentencing the defendant under Section 1170, provide that the victim shall receive a copy of the portion of the probation report filed pursuant to Section 1203.10 concerning the defendant's employment, occupation, finances, and liabilities.
  (C) If sentencing the defendant under Section 1203, set a date and place for submission of the disclosure required by paragraph (5) as a condition of probation or suspended sentence.
  (11) If a defendant has any remaining unpaid balance on a restitution order or fine 120 days prior to his or her scheduled release from probation or 120 days prior to his or her completion of a conditional sentence, the defendant shall prepare and file a new and updated financial disclosure identifying all assets, income, and liabilities in which the defendant holds or controls or has held or controlled a present or future interest during the defendant's period of probation or conditional sentence. The financial disclosure shall be made available to the victim and the board pursuant to Section 1214. The disclosure shall be signed and prepared by the defendant on the same form as described in paragraph (5). A defendant who willfully states as true a material matter that he or she knows to be false on the disclosure required by this subdivision is guilty of a misdemeanor, unless this conduct is punishable as perjury or another provision of law provides for a greater penalty. The financial disclosure required by this paragraph shall be filed with the clerk of the court no later than 90 days prior to the defendant's scheduled release from probation or completion of the defendant's conditional sentence.
  (12) In cases where an employer is convicted of a crime against an employee, a payment to the employee or the employee's dependent that is made by the employer's workers' compensation insurance carrier shall not be used to offset the amount of the restitution order unless the court finds that the defendant substantially met the obligation to pay premiums for that insurance coverage.
  (g) The court shall order full restitution unless it finds compelling and extraordinary reasons for not doing so and states those reasons on the record. A defendant's inability to pay shall not be considered a compelling and extraordinary reason not to impose a restitution order, nor shall inability to pay be a consideration in determining the amount of a restitution order.
  (h) The district attorney may request an order of examination pursuant to the procedures specified in Article 2 (commencing with Section 708.110) of Chapter 6 of Division 2 of Title 9 of Part 2 of the Code of Civil Procedure, in order to determine the defendant's financial assets for purposes of collecting on the restitution order.
  (i) A restitution order imposed pursuant to subdivision (f) shall be enforceable as if the order were a civil judgment.
  (j) The making of a restitution order pursuant to subdivision (f) shall not affect the right of a victim to recovery from the Restitution Fund as otherwise provided by law, except to the extent that restitution is actually collected pursuant to the order. Restitution collected pursuant to this subdivision shall be credited to any other judgments for the same losses obtained against the defendant arising out of the crime for which the defendant was convicted.
  (k) For purposes of this section, "victim" shall include all of the following:
  (1) The immediate surviving family of the actual victim.
  (2) A corporation, business trust, estate, trust, partnership, association, joint venture, government, governmental subdivision, agency, or instrumentality, or any other legal or commercial entity when that entity is a direct victim of a crime.
  (3) A person who has sustained economic loss as the result of a crime and who satisfies any of the following conditions:
  (A) At the time of the crime was the parent, grandparent, sibling, spouse, child, or grandchild of the victim.
  (B) At the time of the crime was living in the household of the victim.
  (C) At the time of the crime was a person who had previously lived in the household of the victim for a period of not less than two years in a relationship substantially similar to a relationship listed in subparagraph (A).
  (D) Is another family member of the victim, including, but not limited to, the victim's fiancé or fiancée, and who witnessed the crime.
  (E) Is the primary caretaker of a minor victim.
  (4) A person who is eligible to receive assistance from the Restitution Fund pursuant to Chapter 5 (commencing with Section 13950) of Part 4 of Division 3 of Title 2 of the Government Code.
  (5) A governmental entity that is responsible for repairing, replacing, or restoring public or privately owned property that has been defaced with graffiti or other inscribed material, as defined in subdivision (e) of Section 594, and that has sustained an economic loss as the result of a violation of Section 594, 594.3, 594.4, 640.5, 640.6, or 640.7.
  (l) At its discretion, the board of supervisors of a county may impose a fee to cover the actual administrative cost of collecting the restitution fine, not to exceed 10 percent of the amount ordered to be paid, to be added to the restitution fine and included in the order of the court, the proceeds of which shall be deposited in the general fund of the county.
  (m) In every case in which the defendant is granted probation, the court shall make the payment of restitution fines and orders imposed pursuant to this section a condition of probation. Any portion of a restitution order that remains unsatisfied after a defendant is no longer on probation shall continue to be enforceable by a victim pursuant to Section 1214 until the obligation is satisfied.
  (n) If the court finds and states on the record compelling and extraordinary reasons why a restitution fine or full restitution order should not be required, the court shall order, as a condition of probation, that the defendant perform specified community service, unless it finds and states on the record compelling and extraordinary reasons not to require community service in addition to the finding that restitution should not be required. Upon revocation of probation, the court shall impose restitution pursuant to this section.
  (o) The provisions of Section 13963 of the Government Code shall apply to restitution imposed pursuant to this section.
  (p) The court clerk shall notify the California Victim Compensation and Government Claims Board within 90 days of an order of restitution being imposed if the defendant is ordered to pay restitution to the board due to the victim receiving compensation from the Restitution Fund. Notification shall be accomplished by mailing a copy of the court order to the board, which may be done periodically by bulk mail or email.
  (q) Upon conviction for a violation of Section 236.1, the court shall, in addition to any other penalty or restitution, order the defendant to pay restitution to the victim in a case in which a victim has suffered economic loss as a result of the defendant's conduct. The court shall require that the defendant make restitution to the victim or victims in an amount established by court order, based on the amount of loss claimed by the victim or victims or another showing to the court. In determining restitution pursuant to this section, the court shall base its order upon the greater of the following: the gross value of the victim's labor or services based upon the comparable value of similar services in the labor market in which the offense occurred, or the value of the victim's labor as guaranteed under California law, or the actual income derived by the defendant from the victim's labor or services or any other appropriate means to provide reparations to the victim.
  (r) (1) In addition to any other penalty or fine, the court shall order a person who has been convicted of a violation of Section 350, 653h, 653s, 653u, 653w, or 653aa that involves a recording or audiovisual work to make restitution to an owner or lawful producer, or trade association acting on behalf of the owner or lawful producer, of a phonograph record, disc, wire, tape, film, or other device or article from which sounds or visual images are derived that suffered economic loss resulting from the violation. The order of restitution shall be based on the aggregate wholesale value of lawfully manufactured and authorized devices or articles from which sounds or visual images are devised corresponding to the number of nonconforming devices or articles involved in the offense, unless a higher value can be proved in the case of (A) an unreleased audio work, or (B) an audiovisual work that, at the time of unauthorized distribution, has not been made available in copies for sale to the general public in the United States on a digital versatile disc. For purposes of this subdivision, possession of nonconforming devices or articles intended for sale constitutes actual economic loss to an owner or lawful producer in the form of displaced legitimate wholesale purchases. The order of restitution shall also include reasonable costs incurred as a result of an investigation of the violation undertaken by the owner, lawful producer, or trade association acting on behalf of the owner or lawful producer. "Aggregate wholesale value" means the average wholesale value of lawfully manufactured and authorized sound or audiovisual recordings. Proof of the specific wholesale value of each nonconforming device or article is not required.
  (2) As used in this subdivision, "audiovisual work" and "recording" shall have the same meaning as in Section 653w.
(a) (1) Notwithstanding Section 977 or any other law, if a defendant is currently incarcerated in a state prison with two-way audiovideo communication capability, the Department of Corrections, at the request of the California Victim Compensation and Government Claims Board, may collaborate with a court in any county to arrange for a hearing to impose or amend a restitution order, if the victim has received assistance pursuant to Article 5 (commencing with Section 13959) of Chapter 5 of Part 4 of Division 3 of Title 2 of the Government Code, to be conducted by two-way electronic audiovideo communication between the defendant and the courtroom in lieu of the defendant's physical presence in the courtroom, provided the county has agreed to make the necessary equipment available.
  (2) Nothing in this subdivision shall be interpreted to eliminate the authority of the court to issue an order requiring the defendant to be physically present in the courtroom in those cases where the court finds circumstances that require the physical presence of the defendant in the courtroom.
  (3) In lieu of the physical presence of the defendant's counsel at the institution with the defendant, the court and the Department of Corrections shall establish a confidential telephone and facsimile transmission line between the court and the institution for communication between the defendant's counsel in court and the defendant at the institution. In this case, counsel for the defendant shall not be required to be physically present at the institution during the hearing via electronic audiovideo communication. Nothing in this subdivision shall be construed to prohibit the physical presence of the defense counsel with the defendant at the state prison.
  (b) If an inmate who is not incarcerated in a state prison with two-way audiovideo communication capability or ward does not waive his or her right to attend a restitution hearing for the amendment of a restitution order, the California Victim Compensation and Government Claims Board shall determine if the cost of holding the hearing is justified. If the board determines that the cost of holding the hearing is not justified, the amendment of the restitution order affecting that inmate or ward shall not be pursued at that time.
  (c) Nothing in this section shall be construed to prohibit an individual or district attorney's office from independently pursuing the imposition or amendment of a restitution order that may result in a hearing, regardless of whether the victim has received assistance pursuant to Article 1 (commencing with Section 13959) of Chapter 5 of Part 4 of Division 3 of Title 2 of the Government Code.
Upon entry of a restitution order under subdivision (c) of Section 13967 of the Government Code, as operative on or before September 28, 1994, paragraph (3) of subdivision (a) of Section 1202.4 of this code, or Section 1203.04 as operative on or before August 2, 1995, the following shall apply:
  (a) The court shall enter a separate order for income deduction upon determination of the defendant's ability to pay, regardless of the probation status, in accordance with Section 1203. Determination of a defendant's ability to pay may include his or her future earning capacity. A defendant shall bear the burden of demonstrating lack of his or her ability to pay. Express findings by the court as to the factors bearing on the amount of the fine shall not be required.
  (b) (1) In any case in which the court enters a separate order for income deduction under this section, the order shall be stayed until the agency in the county responsible for collection of restitution determines that the defendant has failed to meet his or her obligation under the restitution order and the defendant has not provided the agency with good cause for the failure in accordance with paragraph (2).
  (2) If the agency responsible for collection of restitution receives information that the defendant has failed to meet his or her obligation under the restitution order, the agency shall request the defendant to provide evidence indicating that timely payments have been made or provide information establishing good cause for the failure. If the defendant fails to either provide the agency with the evidence or fails to establish good cause within five days of the request, the agency shall immediately inform the defendant of that fact, and shall inform the clerk of the court in order that an income deduction order will be served pursuant to subdivision (f) following a 15-day appeal period. The defendant may apply for a hearing to contest the lifting of the stay pursuant to subdivision (f).
  (c) The income deduction order shall direct a payer to deduct from all income due and payable to the defendant the amount required by the court to meet the defendant's obligation.
  (d) The income deduction order shall be effective so long as the order for restitution upon which it is based is effective or until further order of the court.
  (e) When the court orders the income deduction, the court shall furnish to the defendant a statement of his or her rights, remedies, and duties in regard to the income deduction order. The statement shall state all of the following:
  (1) All fees or interest that will be imposed.
  (2) The total amount of income to be deducted for each pay period.
  (3) That the income deduction order applies to current and subsequent payers and periods of employment.
  (4) That a copy of the income deduction order will be served on the defendant's payer or payers.
  (5) That enforcement of the income deduction order may only be contested on the ground of mistake of fact regarding the amount of restitution owed.
  (6) That the defendant is required to notify the clerk of the court within seven days after changes in the defendant's address, payers, and the addresses of his or her payers.
  (7) That the court order will be stayed in accordance with subdivision (b) and that a hearing is available in accordance with subdivision (f).
  (f) (1) Upon receiving the notice described in paragraph (2) of subdivision (b), the clerk of the court or officer of the agency responsible for collection of restitution shall serve an income deduction order and the notice to payer on the defendant's payer unless the defendant has applied for a hearing to contest the enforcement of the income deduction order.
  (2) (A) Service by or upon any person who is a party to a proceeding under this section shall be made in the manner prescribed for service upon parties in a civil action.
  (B) Service upon the defendant's payer or successor payer under this section shall be made by prepaid certified mail, return receipt requested.
  (3) The defendant, within 15 days after being informed that the order staying the income deduction order will be lifted, may apply for a hearing to contest the enforcement of the income deduction order on the ground of mistake of fact regarding the amount of restitution owed or on the ground that the defendant has established good cause for the nonpayment. The timely request for a hearing shall stay the service of an income deduction order on all payers of the defendant until a hearing is held and a determination is made as to whether the enforcement of the income deduction order is proper.
  (4) The notice to any payer required by this subdivision shall contain only information necessary for the payer to comply with the income deduction order. The notice shall do all of the following:
  (A) Require the payer to deduct from the defendant's income the amount specified in the income deduction order, and to pay that amount to the clerk of the court.
  (B) Instruct the payer to implement the income deduction order no later than the first payment date that occurs more than 14 days after the date the income deduction order was served on the payer.
  (C) Instruct the payer to forward, within two days after each payment date, to the clerk of the court the amount deducted from the defendant's income and a statement as to whether the amount totally or partially satisfies the periodic amount specified in the income deduction order.
  (D) Specify that if a payer fails to deduct the proper amount from the defendant's income, the payer is liable for the amount the payer should have deducted, plus costs, interest, and reasonable attorney' s fees.
  (E) Provide that the payer may collect up to five dollars ($5) against the defendant's income to reimburse the payer for administrative costs for the first income deduction and up to one dollar ($1) for each deduction thereafter.
  (F) State that the income deduction order and the notice to payer are binding on the payer until further notice by the court or until the payer no longer provides income to the defendant.
  (G) Instruct the payer that, when he or she no longer provides income to the defendant, he or she shall notify the clerk of the court and shall also provide the defendant's last known address and the name and address of the defendant's new payer, if known, and that, if the payer violates this provision, the payer is subject to a civil penalty not to exceed two hundred fifty dollars ($250) for the first violation or five hundred dollars ($500) for any subsequent violation.
  (H) State that the payer shall not discharge, refuse to employ, or take disciplinary action against the defendant because of an income deduction order and shall state that a violation of this provision subjects the payer to a civil penalty not to exceed two hundred fifty dollars ($250) for the first violation or five hundred dollars ($500) for any subsequent violation.
  (I) Inform the payer that when he or she receives income deduction orders requiring that the income of two or more defendants be deducted and sent to the same clerk of a court, he or she may combine the amounts that are to be paid to the depository in a single payment as long as he or she identifies that portion of the payment attributable to each defendant.
  (J) Inform the payer that if the payer receives more than one income deduction order against the same defendant, he or she shall contact the court for further instructions.
  (5) The clerk of the court shall enforce income deduction orders against the defendant's successor payer who is located in this state in the same manner prescribed in this subdivision for the enforcement of an income deduction order against a payer.
  (6) A person may not discharge, refuse to employ, or take disciplinary action against an employee because of the enforcement of an income deduction order. An employer who violates this provision is subject to a civil penalty not to exceed two hundred fifty dollars ($250) for the first violation or five hundred dollars ($500) for any subsequent violation.
  (7) When a payer no longer provides income to a defendant, he or she shall notify the clerk of the court and shall provide the defendant's last known address and the name and address of the defendant's new payer, if known. A payer who violates this provision is subject to a civil penalty not to exceed two hundred fifty dollars ($250) for the first violation or five hundred dollars ($500) for a subsequent violation.
  (g) If the defendant has failed to meet his or her obligation under the restitution order and the defendant has not provided good cause for the failure in accordance with the process set forth in paragraph (2) of subdivision (b), the court may, upon the request of the prosecuting attorney, order that the prosecuting attorney be given authority to use lien procedures applicable to the defendant, including, but not limited to, a writ of attachment of property. This authority is in addition to any authority granted to the prosecuting attorney in subdivision (h).
  (1) If the court authorizes a lien or other similar encumbrance on real property pursuant to this subdivision, the court shall, within 15 days, furnish to the defendant a statement of his or her rights, remedies, and duties in regard to the order. The statement shall state all of the following:
  (A) That the lien is enforceable and collectible by execution issued by order of the court, except that a lien shall not be enforced by writ of execution on a defendant's principal place of residence.
  (B) A legal description of the property to be encumbered.
  (C) The total amount of restitution still owed by the defendant.
  (D) That enforcement of the lien order may only be contested on the ground of mistake of fact regarding the amount of restitution owed or on the ground of mistake of fact regarding the defendant's ownership interest of the property to be encumbered.
  (E) That a hearing is available in accordance with paragraph (2).
  (F) That, upon paying the restitution order in full, the defendant may petition the court for a full release of any related encumbrance in accordance with paragraph (3).
  (2) The defendant, within 15 days after being informed that a lien or other similar encumbrance on real property has been ordered, may apply for a hearing to contest the enforcement order on the ground of mistake of fact regarding the amount of restitution owed, on the ground of mistake of fact regarding the defendant's ownership interest of the property to be encumbered, or on the ground that the defendant has established good cause for the nonpayment. The timely request for a hearing shall stay any execution on the lien until a hearing is held and a determination is made as to whether the enforcement order is proper.
  (3) Upon payment of the restitution order in full, the defendant may petition the court to issue an order directing the clerk of the court to execute a full reconveyance of title, a certificate of discharge, or a full release of any lien against real property created to secure performance of the restitution order.
  (4) Neither a prosecutorial agency nor a prosecuting attorney shall be liable for an injury caused by an act or omission in exercising the authority granted by this subdivision.
  (h) If there is no agency in the county responsible for the collection of restitution, the county probation office or the prosecuting attorney may carry out the functions and duties of such an agency as specified in subdivisions (b) and (f).
  (i) A prosecuting attorney shall not make any collection against, or take any percentage of, the defendant's income or assets to reimburse the prosecuting attorney for administrative costs in carrying out any action authorized by this section.
  (j) As used in this section, "good cause" for failure to meet an obligation or "good cause" for nonpayment means, but shall not be limited to, any of the following:
  (1) That there has been a substantial change in the defendant's economic circumstances, such as involuntary unemployment, involuntary cost-of-living increases, or costs incurred as the result of medical circumstances or a natural disaster.
  (2) That the defendant reasonably believes there has been an administrative error with regard to his or her obligation for payment.
  (3) Any other similar and justifiable reasons.
(a) The restitution fine imposed pursuant to subdivision (a) of Section 13967 of the Government Code, as operative on or before September 28, 1994, subparagraph (B) of paragraph (2) of subdivision (a) of Section 1203.04, as operative on or before August 2, 1995, or Section 1202.4 shall be payable to the clerk of the court, the probation officer, or any other person responsible for the collection of criminal fines. If the defendant is unable or otherwise fails to pay that fine in a felony case and there is an amount unpaid of one thousand dollars ($1,000) or more within 60 days after the imposition of sentence, or in a case in which probation is granted, within the period of probation, the clerk of the court, probation officer, or other person to whom the fine is to be paid shall forward to the Controller the abstract of judgment along with any information which may be relevant to the present and future location of the defendant and his or her assets, if any, and any verifiable amount which the defendant may have paid to the victim as a result of the crime.
  (b) A restitution fine shall be deemed a debt of the defendant owing to the state for the purposes of Sections 12418 and 12419.5 of the Government Code, excepting any amounts the defendant has paid to the victim as a result of the crime. Upon request by the Controller, the district attorney of a county or the Attorney General may take any necessary action to recover amounts owing on a restitution fine. The amount of the recovery shall be increased by a sum sufficient to cover any costs incurred by any state or local agency in the administration of this section. The remedies provided by this subdivision are in addition to any other remedies provided by law for the enforcement of a judgment.
In every case in which a person is convicted of a crime and a conditional sentence or a sentence that includes a period of probation is imposed, the court shall, at the time of imposing the restitution fine pursuant to subdivision (b) of Section 1202.4, assess an additional probation revocation restitution fine in the same amount as that imposed pursuant to subdivision (b) of Section 1202.4. This additional probation revocation restitution fine shall become effective upon the revocation of probation or of a conditional sentence, and shall not be waived or reduced by the court, absent compelling and extraordinary reasons stated on record. Probation revocation restitution fines shall be deposited in the Restitution Fund in the State Treasury.
(a) In every case where a person is convicted of a crime and his or her sentence includes a period of parole, the court shall, at the time of imposing the restitution fine pursuant to subdivision (b) of Section 1202.4, assess an additional parole revocation restitution fine in the same amount as that imposed pursuant to subdivision (b) of Section 1202.4.
  (b) In every case where a person is convicted of a crime and is subject to either postrelease community supervision under Section 3451 or mandatory supervision under subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170, the court shall, at the time of imposing the restitution fine pursuant to subdivision (b) of Section 1202.4, assess an additional postrelease community supervision revocation restitution fine or mandatory supervision revocation restitution fine in the same amount as that imposed pursuant to subdivision (b) of Section 1202.4, that may be collected by the agency designated pursuant to subdivision (b) of Section 2085.5 by the board of supervisors of the county in which the prisoner is incarcerated.
  (c) The fines imposed pursuant to subdivisions (a) and (b) shall not be subject to penalty assessments authorized by Section 1464 or Chapter 12 (commencing with Section 76000) of Title 8 of the Government Code, or the state surcharge authorized by Section 1465.7, and shall be suspended unless the person's parole, postrelease community supervision, or mandatory supervision is revoked. Fine moneys shall be deposited in the Restitution Fund in the State Treasury.
Notwithstanding Section 1170, when the economic losses of a victim cannot be ascertained at the time of sentencing pursuant to subdivision (f) of Section 1202.4, the court shall retain jurisdiction over a person subject to a restitution order for purposes of imposing or modifying restitution until such time as the losses may be determined. Nothing in this section shall be construed as prohibiting a victim, the district attorney, or a court on its own motion from requesting correction, at any time, of a sentence when the sentence is invalid due to the omission of a restitution order or fine without a finding of compelling and extraordinary reasons pursuant to Section 1202.4.
(a) In any case in which a defendant is convicted of any of the offenses enumerated in Section 211, 215, 459, 470, 484, 487, subdivision (a) of Section 487a, or Section 488, or 594, the court shall order the defendant to pay a fine of ten dollars ($10) in addition to any other penalty or fine imposed. If the court determines that the defendant has the ability to pay all or part of the fine, the court shall set the amount to be reimbursed and order the defendant to pay that sum to the county in the manner in which the court believes reasonable and compatible with the defendant's financial ability. In making a determination of whether a defendant has the ability to pay, the court shall take into account the amount of any other fine imposed upon the defendant and any amount the defendant has been ordered to pay in restitution.
  (b) (1) All fines collected pursuant to this section shall be held in trust by the county collecting them, until transferred to the local law enforcement agency to be used exclusively for the jurisdiction where the offense took place. All moneys collected shall implement, support, and continue local crime prevention programs.
  (2) All amounts collected pursuant to this section shall be in addition to, and shall not supplant funds received for crime prevention purposes from other sources.
  (c) As used in this section, "law enforcement agency" includes, but is not limited to, police departments, sheriffs departments, and probation departments.
In any case in which a defendant is convicted of any of the offenses enumerated in Section 372, 373a, 374.3, 374.4, 374.7, or 374.8, the court shall order the defendant to pay a fine of one hundred dollars ($100) if the conviction is for an infraction or two hundred dollars ($200) if the conviction is for a misdemeanor, in addition to any other penalty or fine imposed. If the court determines that the defendant has the ability to pay all or part of the fine, the court shall set the amount to be paid and order the defendant to pay that sum to the city or, if not within a city, the county, where the violation occurred, to be used for the city's or county's illegal dumping enforcement program. Notwithstanding any other provision of law, no state or county penalty, assessment, fee, or surcharge shall be imposed on the fine ordered under this section.
(a) Notwithstanding Sections 120975, 120980, and 120990 of the Health and Safety Code, upon the first conviction of any person for a violation of subdivision (b) of Section 647, the court shall, before sentencing or as a condition of probation, order the defendant to complete instruction in the causes and consequences of acquired immune deficiency syndrome (AIDS) pursuant to subdivision (d) and shall order the defendant to submit to testing for AIDS in accordance with subdivision (e). In addition, the court shall refer a defendant, where appropriate, to a program under Article 3.2 (commencing with Section 11320) of Chapter 2 of Part 3 of Division 9 of the Welfare and Institutions Code or to any drug diversion program, or both.
  (b) Upon a second or subsequent conviction of a violation of subdivision (b) of Section 647, the court shall, before sentencing, order the defendant to submit to testing for AIDS in accordance with subdivision (e).
  (c) At the sentencing hearing of a defendant ordered to submit to testing for AIDS pursuant to subdivision (a) or (b), the court shall furnish the defendant with a copy of the report submitted pursuant to subdivision (e) and shall direct the clerk to note the receipt of the report by the defendant in the records of the case. If the results of the test described in the report are positive, the court shall make certain that the defendant understands the nature and meaning of the contents of the report and shall further advise the defendant of the penalty established in Section 647f for a subsequent violation of subdivision (b) of Section 647.
  (d) The county health officer in each county shall select an agency, or agencies, in the county that shall provide AIDS prevention education. The county health officer shall endeavor to select an agency, or agencies, that currently provide AIDS prevention education programs to substance abusers or prostitutes. If no agency is currently providing this education, the county agency responsible for substance abuse shall develop an AIDS prevention education program either within the agency or under contract with a community-based, nonprofit organization in the county. The county health officer shall forward to the courts a list of agencies selected for purposes of referral. An AIDS prevention education program providing services, at a minimum, shall include details about the transmission of human immunodeficiency virus (HIV), the etiologic agent for AIDS, symptoms of AIDS or AIDS-related conditions, prevention through avoidance or cleaning of needles, sexual practices that constitute high risk, low risk, and no risk (including abstinence), and resources for assistance if the person decides to take a test for the etiologic agent for AIDS and receives a positive test result. The program also shall include other relevant medical and prevention information as it becomes available.
  (e) The court shall order testing of every defendant as ordered pursuant to subdivision (a) or (b) for evidence of antibodies to the probable causative agent of acquired immune deficiency syndrome. Notwithstanding Section 120980 of the Health and Safety Code, written copies of the report on the test shall be furnished to both of the following:
  (1) The court in which the defendant is to be sentenced.
  (2) The State Department of Health Services.
  (f) Except as provided in subdivisions (c) and (g), the reports required by subdivision (e) shall be confidential.
  (g) The State Department of Health Services shall maintain the confidentiality of the reports received pursuant to subdivision (e), except that the department shall furnish copies of any report to a district attorney upon request.
The Legislature finds and declares that the provision of probation services is an essential element in the administration of criminal justice. The safety of the public, which shall be a primary goal through the enforcement of court-ordered conditions of probation; the nature of the offense; the interests of justice, including punishment, reintegration of the offender into the community, and enforcement of conditions of probation; the loss to the victim; and the needs of the defendant shall be the primary considerations in the granting of probation. It is the intent of the Legislature that efforts be made with respect to persons who are subject to Section 290.011 who are on probation to engage them in treatment.
(a) Persons placed on probation by a court shall be under the supervision of the county probation officer who shall determine both the level and type of supervision consistent with the court-ordered conditions of probation.
  (b) Commencing January 1, 2009, every person who has been assessed with the State Authorized Risk Assessment Tool for Sex Offenders (SARATSO) pursuant to Sections 290.04 to 290.06, inclusive, and who has a SARATSO risk level of high shall be continuously electronically monitored while on probation, unless the court determines that such monitoring is unnecessary for a particular person. The monitoring device used for these purposes shall be identified as one that employs the latest available proven effective monitoring technology. Nothing in this section prohibits probation authorities from using electronic monitoring technology pursuant to any other provision of law.
  (c) Within 30 days of a court making an order to provide restitution to a victim or to the Restitution Fund, the probation officer shall establish an account into which any restitution payments that are not deposited into the Restitution Fund shall be deposited.
  (d) Beginning January 1, 2009, and every two years thereafter, each probation department shall report to the Corrections Standards Authority all relevant statistics and relevant information regarding the effectiveness of continuous electronic monitoring of offenders pursuant to subdivision (b). The report shall include the costs of monitoring and the recidivism rates of those persons who have been monitored. The Corrections Standards Authority shall compile the reports and submit a single report to the Legislature and the Governor every two years through 2017.
(a) As used in this code, "probation" means the suspension of the imposition or execution of a sentence and the order of conditional and revocable release in the community under the supervision of a probation officer. As used in this code, "conditional sentence" means the suspension of the imposition or execution of a sentence and the order of revocable release in the community subject to conditions established by the court without the supervision of a probation officer. It is the intent of the Legislature that both conditional sentence and probation are authorized whenever probation is authorized in any code as a sentencing option for infractions or misdemeanors.
  (b) (1) Except as provided in subdivision (j), if a person is convicted of a felony and is eligible for probation, before judgment is pronounced, the court shall immediately refer the matter to a probation officer to investigate and report to the court, at a specified time, upon the circumstances surrounding the crime and the prior history and record of the person, which may be considered either in aggravation or mitigation of the punishment.
  (2) (A) The probation officer shall immediately investigate and make a written report to the court of his or her findings and recommendations, including his or her recommendations as to the granting or denying of probation and the conditions of probation, if granted.
  (B) Pursuant to Section 828 of the Welfare and Institutions Code, the probation officer shall include in his or her report any information gathered by a law enforcement agency relating to the taking of the defendant into custody as a minor, which shall be considered for purposes of determining whether adjudications of commissions of crimes as a juvenile warrant a finding that there are circumstances in aggravation pursuant to Section 1170 or to deny probation.
  (C) If the person was convicted of an offense that requires him or her to register as a sex offender pursuant to Sections 290 to 290.023, inclusive, or if the probation report recommends that registration be ordered at sentencing pursuant to Section 290.006, the probation officer's report shall include the results of the State-Authorized Risk Assessment Tool for Sex Offenders (SARATSO) administered pursuant to Sections 290.04 to 290.06, inclusive, if applicable.
  (D) The probation officer may also include in the report his or her recommendation of both of the following:
  (i) The amount the defendant should be required to pay as a restitution fine pursuant to subdivision (b) of Section 1202.4.
  (ii) Whether the court shall require, as a condition of probation, restitution to the victim or to the Restitution Fund and the amount thereof.
  (E) The report shall be made available to the court and the prosecuting and defense attorneys at least five days, or upon request of the defendant or prosecuting attorney nine days, prior to the time fixed by the court for the hearing and determination of the report, and shall be filed with the clerk of the court as a record in the case at the time of the hearing. The time within which the report shall be made available and filed may be waived by written stipulation of the prosecuting and defense attorneys that is filed with the court or an oral stipulation in open court that is made and entered upon the minutes of the court.
  (3) At a time fixed by the court, the court shall hear and determine the application, if one has been made, or, in any case, the suitability of probation in the particular case. At the hearing, the court shall consider any report of the probation officer, including the results of the SARATSO, if applicable, and shall make a statement that it has considered the report, which shall be filed with the clerk of the court as a record in the case. If the court determines that there are circumstances in mitigation of the punishment prescribed by law or that the ends of justice would be served by granting probation to the person, it may place the person on probation. If probation is denied, the clerk of the court shall immediately send a copy of the report to the Department of Corrections and Rehabilitation at the prison or other institution to which the person is delivered.
  (4) The preparation of the report or the consideration of the report by the court may be waived only by a written stipulation of the prosecuting and defense attorneys that is filed with the court or an oral stipulation in open court that is made and entered upon the minutes of the court, except that a waiver shall not be allowed unless the court consents thereto. However, if the defendant is ultimately sentenced and committed to the state prison, a probation report shall be completed pursuant to Section 1203c.
  (c) If a defendant is not represented by an attorney, the court shall order the probation officer who makes the probation report to discuss its contents with the defendant.
  (d) If a person is convicted of a misdemeanor, the court may either refer the matter to the probation officer for an investigation and a report or summarily pronounce a conditional sentence. If the person was convicted of an offense that requires him or her to register as a sex offender pursuant to Sections 290 to 290.023, inclusive, or if the probation officer recommends that the court, at sentencing, order the offender to register as a sex offender pursuant to Section 290.006, the court shall refer the matter to the probation officer for the purpose of obtaining a report on the results of the State-Authorized Risk Assessment Tool for Sex Offenders administered pursuant to Sections 290.04 to 290.06, inclusive, if applicable, which the court shall consider. If the case is not referred to the probation officer, in sentencing the person, the court may consider any information concerning the person that could have been included in a probation report. The court shall inform the person of the information to be considered and permit him or her to answer or controvert the information. For this purpose, upon the request of the person, the court shall grant a continuance before the judgment is pronounced.
  (e) Except in unusual cases where the interests of justice would best be served if the person is granted probation, probation shall not be granted to any of the following persons:
  (1) Unless the person had a lawful right to carry a deadly weapon, other than a firearm, at the time of the perpetration of the crime or his or her arrest, any person who has been convicted of arson, robbery, carjacking, burglary, burglary with explosives, rape with force or violence, torture, aggravated mayhem, murder, attempt to commit murder, trainwrecking, kidnapping, escape from the state prison, or a conspiracy to commit one or more of those crimes and who was armed with the weapon at either of those times.
  (2) Any person who used, or attempted to use, a deadly weapon upon a human being in connection with the perpetration of the crime of which he or she has been convicted.
  (3) Any person who willfully inflicted great bodily injury or torture in the perpetration of the crime of which he or she has been convicted.
  (4) Any person who has been previously convicted twice in this state of a felony or in any other place of a public offense which, if committed in this state, would have been punishable as a felony.
  (5) Unless the person has never been previously convicted once in this state of a felony or in any other place of a public offense which, if committed in this state, would have been punishable as a felony, any person who has been convicted of burglary with explosives, rape with force or violence, torture, aggravated mayhem, murder, attempt to commit murder, trainwrecking, extortion, kidnapping, escape from the state prison, a violation of Section 286, 288, 288a, or 288.5, or a conspiracy to commit one or more of those crimes.
  (6) Any person who has been previously convicted once in this state of a felony or in any other place of a public offense which, if committed in this state, would have been punishable as a felony, if he or she committed any of the following acts:
  (A) Unless the person had a lawful right to carry a deadly weapon at the time of the perpetration of the previous crime or his or her arrest for the previous crime, he or she was armed with a weapon at either of those times.
  (B) The person used, or attempted to use, a deadly weapon upon a human being in connection with the perpetration of the previous crime.
  (C) The person willfully inflicted great bodily injury or torture in the perpetration of the previous crime.
  (7) Any public official or peace officer of this state or any city, county, or other political subdivision who, in the discharge of the duties of his or her public office or employment, accepted or gave or offered to accept or give any bribe, embezzled public money, or was guilty of extortion.
  (8) Any person who knowingly furnishes or gives away phencyclidine.
  (9) Any person who intentionally inflicted great bodily injury in the commission of arson under subdivision (a) of Section 451 or who intentionally set fire to, burned, or caused the burning of, an inhabited structure or inhabited property in violation of subdivision (b) of Section 451.
  (10) Any person who, in the commission of a felony, inflicts great bodily injury or causes the death of a human being by the discharge of a firearm from or at an occupied motor vehicle proceeding on a public street or highway.
  (11) Any person who possesses a short-barreled rifle or a short-barreled shotgun under Section 33215, a machinegun under Section 32625, or a silencer under Section 33410.
  (12) Any person who is convicted of violating Section 8101 of the Welfare and Institutions Code.
  (13) Any person who is described in subdivision (b) or (c) of Section 27590.
  (f) When probation is granted in a case which comes within subdivision (e), the court shall specify on the record and shall enter on the minutes the circumstances indicating that the interests of justice would best be served by that disposition.
  (g) If a person is not eligible for probation, the judge shall refer the matter to the probation officer for an investigation of the facts relevant to determination of the amount of a restitution fine pursuant to subdivision (b) of Section 1202.4 in all cases where the determination is applicable. The judge, in his or her discretion, may direct the probation officer to investigate all facts relevant to the sentencing of the person. Upon that referral, the probation officer shall immediately investigate the circumstances surrounding the crime and the prior record and history of the person and make a written report to the court of his or her findings. The findings shall include a recommendation of the amount of the restitution fine as provided in subdivision (b) of Section 1202.4.
  (h) If a defendant is convicted of a felony and a probation report is prepared pursuant to subdivision (b) or (g), the probation officer may obtain and include in the report a statement of the comments of the victim concerning the offense. The court may direct the probation officer not to obtain a statement if the victim has in fact testified at any of the court proceedings concerning the offense.
  (i) A probationer shall not be released to enter another state unless his or her case has been referred to the Administrator of the Interstate Probation and Parole Compacts, pursuant to the Uniform Act for Out-of-State Probationer or Parolee Supervision (Article 3 (commencing with Section 11175) of Chapter 2 of Title 1 of Part 4) and the probationer has reimbursed the county that has jurisdiction over his or her probation case the reasonable costs of processing his or her request for interstate compact supervision. The amount and method of reimbursement shall be in accordance with Section 1203.1b.
  (j) In any court where a county financial evaluation officer is available, in addition to referring the matter to the probation officer, the court may order the defendant to appear before the county financial evaluation officer for a financial evaluation of the defendant's ability to pay restitution, in which case the county financial evaluation officer shall report his or her findings regarding restitution and other court-related costs to the probation officer on the question of the defendant's ability to pay those costs. Any order made pursuant to this subdivision may be enforced as a violation of the terms and conditions of probation upon willful failure to pay and at the discretion of the court, may be enforced in the same manner as a judgment in a civil action, if any balance remains unpaid at the end of the defendant's probationary period.
  (k) Probation shall not be granted to, nor shall the execution of, or imposition of sentence be suspended for, any person who is convicted of a violent felony, as defined in subdivision (c) of Section 667.5, or a serious felony, as defined in subdivision (c) of Section 1192.7, and who was on probation for a felony offense at the time of the commission of the new felony offense.
(a) Immediately after judgment has been pronounced, the judge and the district attorney, respectively, may cause to be filed with the clerk of the court a brief statement of their views respecting the person convicted or sentenced and the crime committed, together with any reports the probation officer may have filed relative to the prisoner. The judge and district attorney shall cause those statements to be filed if no probation officer's report has been filed. The attorney for the defendant and the law enforcement agency that investigated the case may likewise file with the clerk of the court statements of their views respecting the defendant and the crime of which he or she was convicted. Immediately after the filing of those statements and reports, the clerk of the court shall mail a copy thereof, certified by that clerk, with postage prepaid, addressed to the Department of Corrections and Rehabilitation at the prison or other institution to which the person convicted is delivered. The clerk shall also mail a copy of any statement submitted by the court, district attorney, or law enforcement agency, pursuant to this section, with postage prepaid, addressed to the attorney for the defendant, if any, and to the defendant, in care of the Department of Corrections and Rehabilitation, and a copy of any statement submitted by the attorney for the defendant, with postage prepaid, shall be mailed to the district attorney.
  (b) (1) In all cases in which the judgment imposed includes a sentence of death or an indeterminate term with or without the possibility of parole, the clerk shall, within 60 days after judgment has been pronounced, mail with postage prepaid, to the prison or other institution to which the person convicted is delivered, a copy of the charging documents, a copy of waiver and plea forms, if any, the transcript of the proceedings at the time of the defendant's guilty or nolo contendere plea, if the defendant pleaded guilty or nolo contendere, and the transcript of the proceedings at the time of sentencing.
  (2) In all other cases not described in paragraph (1), the clerk shall mail with postage prepaid, to the prison or other institution to which the person convicted is delivered, a copy of the charging documents, a copy of the waiver and plea forms, if any, and upon written request by the Department of Corrections and Rehabilitation or by an inmate, or by his or her counsel, for, among other purposes on a particular case, appeals, review of custody credits and release dates, and restitution orders, the transcript of the proceedings at the time of the defendant's guilty or nolo contendere plea, if the defendant pleaded guilty or nolo contendere, and the transcript of the proceedings at the time of sentencing.
(a) Notwithstanding any other law, the board of supervisors of any county may authorize the correctional administrator, as defined in subdivision (h), to offer a program under which inmates committed to a county jail or other county correctional facility or granted probation, or inmates participating in a work furlough program, may voluntarily participate or involuntarily be placed in a home detention program during their sentence in lieu of confinement in the county jail or other county correctional facility or program under the auspices of the probation officer.
  (b) The board of supervisors, in consultation with the correctional administrator, may prescribe reasonable rules and regulations under which a home detention program may operate. As a condition of participation in the home detention program, the inmate shall give his or her consent in writing to participate in the home detention program and shall in writing agree to comply or, for involuntary participation, the inmate shall be informed in writing that he or she shall comply, with the rules and regulations of the program, including, but not limited to, the following rules:
  (1) The participant shall remain within the interior premises of his or her residence during the hours designated by the correctional administrator.
  (2) The participant shall admit any person or agent designated by the correctional administrator into his or her residence at any time for purposes of verifying the participant's compliance with the conditions of his or her detention.
  (3) The participant shall agree to the use of electronic monitoring, which may include global positioning system devices or other supervising devices for the purpose of helping to verify his or her compliance with the rules and regulations of the home detention program. The devices shall not be used to eavesdrop or record any conversation, except a conversation between the participant and the person supervising the participant which is to be used solely for the purposes of voice identification.
  (4) The participant shall agree that the correctional administrator in charge of the county correctional facility from which the participant was released may, without further order of the court, immediately retake the person into custody to serve the balance of his or her sentence if the electronic monitoring or supervising devices are unable for any reason to properly perform their function at the designated place of home detention, if the person fails to remain within the place of home detention as stipulated in the agreement, if the person willfully fails to pay fees to the provider of electronic home detention services, as stipulated in the agreement, subsequent to the written notification of the participant that the payment has not been received and that return to custody may result, or if the person for any other reason no longer meets the established criteria under this section. A copy of the agreement shall be delivered to the participant and a copy retained by the correctional administrator.
  (c) Whenever the peace officer supervising a participant has reasonable cause to believe that the participant is not complying with the rules or conditions of the program, or that the electronic monitoring devices are unable to function properly in the designated place of confinement, the peace officer may, under general or specific authorization of the correctional administrator, and without a warrant of arrest, retake the person into custody to complete the remainder of the original sentence.
  (d) Nothing in this section shall be construed to require the correctional administrator to allow a person to participate in this program if it appears from the record that the person has not satisfactorily complied with reasonable rules and regulations while in custody. A person shall be eligible for participation in a home detention program only if the correctional administrator concludes that the person meets the criteria for release established under this section and that the person's participation is consistent with any reasonable rules and regulations prescribed by the board of supervisors or the administrative policy of the correctional administrator.
  (1) The rules and regulations and administrative policy of the program shall be written and reviewed on an annual basis by the county board of supervisors and the correctional administrator. The rules and regulations shall be given to or made available to any participant upon request.
  (2) The correctional administrator, or his or her designee, shall have the sole discretionary authority to permit program participation as an alternative to physical custody. All persons referred or recommended by the court to participate in the home detention program pursuant to subdivision (e) who are denied participation or all persons removed from program participation shall be notified in writing of the specific reasons for the denial or removal. The notice of denial or removal shall include the participant's appeal rights, as established by program administrative policy.
  (e) The court may recommend or refer a person to the correctional administrator for consideration for placement in the home detention program. The recommendation or referral of the court shall be given great weight in the determination of acceptance or denial. At the time of sentencing or at any time that the court deems it necessary, the court may restrict or deny the defendant's participation in a home detention program.
  (f) The correctional administrator may permit home detention program participants to seek and retain employment in the community, attend psychological counseling sessions or educational or vocational training classes, or seek medical and dental assistance. Willful failure of the program participant to return to the place of home detention not later than the expiration of any period of time during which he or she is authorized to be away from the place of home detention pursuant to this section and unauthorized departures from the place of home detention are punishable as provided in Section 4532.
  (g) The board of supervisors may prescribe a program administrative fee to be paid by each home detention participant that shall be determined according to his or her ability to pay. Inability to pay all or a portion of the program fees shall not preclude participation in the program, and eligibility shall not be enhanced by reason of ability to pay. All program administration and supervision fees shall be administered in compliance with Section 1208.2.
  (h) As used in this section, "Correctional administrator" means the sheriff, probation officer, or director of the county department of corrections.
  (i) Notwithstanding any other law, the police department of a city where an office is located to which persons on an electronic monitoring program report may request the county correctional administrator to provide information concerning those persons. This information shall be limited to the name, address, date of birth, offense committed by the home detainee, and if available, at the discretion of the supervising agency and solely for investigatory purposes, current and historical GPS coordinates of the home detainee. A law enforcement department that does not have the primary responsibility to supervise participants in the electronic monitoring program that receives information pursuant to this subdivision shall not use the information to conduct enforcement actions based on administrative violations of the home detention program. A law enforcement department that has knowledge that the subject in a criminal investigation is a participant in an electronic monitoring program shall make reasonable efforts to notify the supervising agency prior to serving a warrant or taking any law enforcement action against a participant in an electronic monitoring program.
  (j) It is the intent of the Legislature that home detention programs established under this section maintain the highest public confidence, credibility, and public safety. In the furtherance of these standards, the following shall apply:
  (1) The correctional administrator, with the approval of the board of supervisors, may administer a home detention program pursuant to written contracts with appropriate public or private agencies or entities to provide specified program services. No public or private agency or entity may operate a home detention program in any county without a written contract with that county's correctional administrator. However, this does not apply to the use of electronic monitoring by the Department of Corrections and Rehabilitation. No public or private agency or entity entering into a contract may itself employ any person who is in the home detention program.
  (2) Program acceptance shall not circumvent the normal booking process for sentenced offenders. All home detention program participants shall be supervised.
  (3) (A) All privately operated home detention programs shall be under the jurisdiction of, and subject to the terms and conditions of the contract entered into with, the correctional administrator.
  (B) Each contract shall include, but not be limited to, all of the following:
  (i) A provision whereby the private agency or entity agrees to operate in compliance with any available standards promulgated by state correctional agencies and bodies, including the Corrections Standards Authority, and all statutory provisions and mandates, state and county, as appropriate and applicable to the operation of home detention programs and the supervision of sentenced offenders in a home detention program.
  (ii) A provision that clearly defines areas of respective responsibility and liability of the county and the private agency or entity.
  (iii) A provision that requires the private agency or entity to demonstrate evidence of financial responsibility, submitted and approved by the board of supervisors, in amounts and under conditions sufficient to fully indemnify the county for reasonably foreseeable public liability, including legal defense costs, that may arise from, or be proximately caused by, acts or omissions of the contractor. The contract shall provide for annual review by the correctional administrator to ensure compliance with requirements set by the board of supervisors and for adjustment of the financial responsibility requirements if warranted by caseload changes or other factors.
  (iv) A provision that requires the private agency or entity to provide evidence of financial responsibility, such as certificates of insurance or copies of insurance policies, prior to commencing any operations pursuant to the contract or at any time requested by the board of supervisors or correctional administrator.
  (v) A provision that permits the correctional administrator to immediately terminate the contract with a private agency or entity at any time that the contractor fails to demonstrate evidence of financial responsibility.
  (C) All privately operated home detention programs shall comply with all appropriate, applicable ordinances and regulations specified in subdivision (a) of Section 1208.
  (D) The board of supervisors, the correctional administrator, and the designee of the correctional administrator shall comply with Section 1090 of the Government Code in the consideration, making, and execution of contracts pursuant to this section.
  (E) The failure of the private agency or entity to comply with statutory provisions and requirements or with the standards established by the contract and with the correctional administrator may be sufficient cause to terminate the contract.
  (F) Upon the discovery that a private agency or entity with whom there is a contract is not in compliance pursuant to this paragraph, the correctional administrator shall give 60 days' notice to the director of the private agency or entity that the contract may be canceled if the specified deficiencies are not corrected.
  (G) Shorter notice may be given or the contract may be canceled without notice whenever a serious threat to public safety is present because the private agency or entity has failed to comply with this section.
  (k) For purposes of this section, "evidence of financial responsibility" may include, but is not limited to, certified copies of any of the following:
  (1) A current liability insurance policy.
  (2) A current errors and omissions insurance policy.
  (3) A surety bond.
(a) Notwithstanding any other provision of law, upon determination by the correctional administrator that conditions in a jail facility warrant the necessity of releasing sentenced misdemeanor inmates prior to them serving the full amount of a given sentence due to lack of jail space, the board of supervisors of any county may authorize the correctional administrator to offer a program under which inmates committed to a county jail or other county correctional facility or granted probation, or inmates participating in a work furlough program, may be required to participate in an involuntary home detention program, which shall include electronic monitoring, during their sentence in lieu of confinement in the county jail or other county correctional facility or program under the auspices of the probation officer. Under this program, one day of participation shall be in lieu of one day of incarceration. Participants in the program shall receive any sentence reduction credits that they would have received had they served their sentences in a county correctional facility.
  (b) The board of supervisors may prescribe reasonable rules and regulations under which an involuntary home detention program may operate. The inmate shall be informed in writing that he or she shall comply with the rules and regulations of the program, including, but not limited to, the following rules:
  (1) The participant shall remain within the interior premises of his or her residence during the hours designated by the correctional administrator.
  (2) The participant shall admit any peace officer designated by the correctional administrator into his or her residence at any time for purposes of verifying the participant's compliance with the conditions of his or her detention.
  (3) The use of electronic monitoring may include global positioning system devices or other supervising devices for the purpose of helping to verify his or her compliance with the rules and regulations of the home detention program. The devices shall not be used to eavesdrop or record any conversation, except a conversation between the participant and the person supervising the participant which is to be used solely for the purposes of voice identification.
  (4) The correctional administrator in charge of the county correctional facility from which the participant was released may, without further order of the court, immediately retake the person into custody to serve the balance of his or her sentence if the electronic monitoring or supervising devices are unable for any reason to properly perform their function at the designated place of home detention, if the person fails to remain within the place of home detention as stipulated in the agreement, or if the person for any other reason no longer meets the established criteria under this section.
  (c) Whenever the peace officer supervising a participant has reasonable cause to believe that the participant is not complying with the rules or conditions of the program, or that the electronic monitoring devices are unable to function properly in the designated place of confinement, the peace officer may, under general or specific authorization of the correctional administrator, and without a warrant of arrest, retake the person into custody to complete the remainder of the original sentence.
  (d) Nothing in this section shall be construed to require the correctional administrator to allow a person to participate in this program if it appears from the record that the person has not satisfactorily complied with reasonable rules and regulations while in custody. A person shall be eligible for participation in a home detention program only if the correctional administrator concludes that the person meets the criteria for release established under this section and that the person's participation is consistent with any reasonable rules and regulations prescribed by the board of supervisors or the administrative policy of the correctional administrator.
  (1) The rules and regulations and administrative policy of the program shall be written and reviewed on an annual basis by the county board of supervisors and the correctional administrator. The rules and regulations shall be given to or made available to any participant upon request.
  (2) The correctional administrator, or his or her designee, shall have the sole discretionary authority to permit program participation as an alternative to physical custody. All persons referred or recommended by the court to participate in the home detention program pursuant to subdivision (e) who are denied participation or all persons removed from program participation shall be notified in writing of the specific reasons for the denial or removal. The notice of denial or removal shall include the participant's appeal rights, as established by program administrative policy.
  (e) The court may recommend or refer a person to the correctional administrator for consideration for placement in the home detention program. The recommendation or referral of the court shall be given great weight in the determination of acceptance or denial. At the time of sentencing or at any time that the court deems it necessary, the court may restrict or deny the defendant's participation in a home detention program.
  (f) The correctional administrator may permit home detention program participants to seek and retain employment in the community, attend psychological counseling sessions or educational or vocational training classes, or seek medical and dental assistance. Willful failure of the program participant to return to the place of home detention not later than the expiration of any period of time during which he or she is authorized to be away from the place of home detention pursuant to this section and unauthorized departures from the place of home detention are punishable as provided in Section 4532.
  (g) As used in this section, "correctional administrator" means the sheriff, probation officer, or director of the county department of corrections.
  (h) (1) Notwithstanding any other law, the correctional administrator shall provide the information specified in paragraph (2) regarding persons on involuntary home detention to the Corrections Standards Authority, and upon request, shall provide that information to the law enforcement agency of a city or unincorporated area where an office is located to which persons on involuntary home detention report.
  (2) The information required by paragraph (1) shall consist of the following:
  (A) The participant's name, address, and date of birth.
  (B) The offense committed by the participant.
  (C) The period of time the participant will be placed on home detention.
  (D) Whether the participant successfully completed the prescribed period of home detention or was returned to a county correctional facility, and if the person was returned to a county correctional facility, the reason for that return.
  (E) The gender and ethnicity of the participant.
  (3) Any information received by a police department pursuant to this subdivision shall be used only for the purpose of monitoring the impact of home detention programs on the community.
  (i) It is the intent of the Legislature that home detention programs established under this section maintain the highest public confidence, credibility, and public safety. In the furtherance of these standards, the following shall apply:
  (1) The correctional administrator, with the approval of the board of supervisors, may administer a home detention program pursuant to written contracts with appropriate public or private agencies or entities to provide specified program services. No public or private agency or entity may operate a home detention program in any county without a written contract with that county's correctional administrator. However, this does not apply to the use of electronic monitoring by the Department of Corrections and Rehabilitation as established in Section 3004. No public or private agency or entity entering into a contract may itself employ any person who is in the home detention program.
  (2) Program acceptance shall not circumvent the normal booking process for sentenced offenders. All home detention program participants shall be supervised.
  (3) (A) All privately operated home detention programs shall be under the jurisdiction of, and subject to the terms and conditions of the contract entered into with, the correctional administrator.
  (B) Each contract shall include, but not be limited to, all of the following:
  (i) A provision whereby the private agency or entity agrees to operate in compliance with any available standards promulgated by state correctional agencies and bodies, including the Corrections Standards Authority, and all statutory provisions and mandates, state and county, as appropriate and applicable to the operation of home detention programs and the supervision of sentenced offenders in a home detention program.
  (ii) A provision that clearly defines areas of respective responsibility and liability of the county and the private agency or entity.
  (iii) A provision that requires the private agency or entity to demonstrate evidence of financial responsibility, submitted and approved by the board of supervisors, in amounts and under conditions sufficient to fully indemnify the county for reasonably foreseeable public liability, including legal defense costs, that may arise from, or be proximately caused by, acts or omissions of the contractor. The contract shall provide for annual review by the correctional administrator to ensure compliance with requirements set by the board of supervisors and for adjustment of the financial responsibility requirements if warranted by caseload changes or other factors.
  (iv) A provision that requires the private agency or entity to provide evidence of financial responsibility, such as certificates of insurance or copies of insurance policies, prior to commencing any operations pursuant to the contract or at any time requested by the board of supervisors or correctional administrator.
  (v) A provision that permits the correctional administrator to immediately terminate the contract with a private agency or entity at any time that the contractor fails to demonstrate evidence of financial responsibility.
  (C) All privately operated home detention programs shall comply with all appropriate, applicable ordinances and regulations specified in subdivision (a) of Section 1208.
  (D) The board of supervisors, the correctional administrator, and the designee of the correctional administrator shall comply with Section 1090 of the Government Code in the consideration, making, and execution of contracts pursuant to this section.
  (E) The failure of the private agency or entity to comply with statutory provisions and requirements or with the standards established by the contract and with the correctional administrator may be sufficient cause to terminate the contract.
  (F) Upon the discovery that a private agency or entity with whom there is a contract is not in compliance pursuant to this paragraph, the correctional administrator shall give 60 days' notice to the director of the private agency or entity that the contract may be canceled if the specified deficiencies are not corrected.
  (G) Shorter notice may be given or the contract may be canceled without notice whenever a serious threat to public safety is present because the private agency or entity has failed to comply with this section.
  (j) Inmates participating in this program shall not be charged fees or costs for the program.
  (k) For purposes of this section, "evidence of financial responsibility" may include, but is not limited to, certified copies of any of the following:
  (1) A current liability insurance policy.
  (2) A current errors and omissions insurance policy.
  (3) A surety bond.
(a) Notwithstanding any other law, this section shall only apply to inmates being held in lieu of bail and on no other basis.
  (b) Notwithstanding any other law, the board of supervisors of any county may authorize the correctional administrator, as defined in paragraph (1) of subdivision (k), to offer a program under which inmates being held in lieu of bail in a county jail or other county correctional facility may participate in an electronic monitoring program if the conditions specified in subdivision (c) are met.
  (c) (1) In order to qualify for participation in an electronic monitoring program pursuant to this section, the inmate shall be an inmate with no holds or outstanding warrants to whom one of the following circumstances applies:
  (A) The inmate has been held in custody for at least 30 calendar days from the date of arraignment pending disposition of only misdemeanor charges.
  (B) The inmate has been held in custody pending disposition of charges for at least 60 calendar days from the date of arraignment.
  (C) The inmate is appropriate for the program based on a determination by the correctional administrator that the inmate's participation would be consistent with the public safety interests of the community.
  (2) All participants shall be subject to discretionary review for eligibility and compliance by the correctional administrator consistent with this section.
  (d) The board of supervisors, after consulting with the sheriff and district attorney, may prescribe reasonable rules and regulations under which an electronic monitoring program pursuant to this section may operate. As a condition of participation in the electronic monitoring program, the participant shall give his or her consent in writing to participate and shall agree in writing to comply with the rules and regulations of the program, including, but not limited to, all of the following:
  (1) The participant shall remain within the interior premises of his or her residence during the hours designated by the correctional administrator.
  (2) The participant shall admit any person or agent designated by the correctional administrator into his or her residence at any time for purposes of verifying the participant's compliance with the conditions of his or her detention.
  (3) The electronic monitoring may include global positioning system devices or other supervising devices for the purpose of helping to verify the participant's compliance with the rules and regulations of the electronic monitoring program. The electronic devices shall not be used to eavesdrop or record any conversation, except a conversation between the participant and the person supervising the participant to be used solely for the purposes of voice identification.
  (4) The correctional administrator in charge of the county correctional facility from which the participant was released may, without further order of the court, immediately retake the person into custody if the electronic monitoring or supervising devices are unable for any reason to properly perform their function at the designated place of home detention, if the person fails to remain within the place of home detention as stipulated in the agreement, if the person willfully fails to pay fees to the provider of electronic home detention services, as stipulated in the agreement, subsequent to the written notification of the participant that the payment has not been received and that return to custody may result, or if the person for any other reason no longer meets the established criteria under this section.
  (5) A copy of the signed consent to participate and a copy of the agreement to comply with the rules and regulations shall be provided to the participant and a copy shall be retained by the correctional administrator.
  (e) The rules and regulations and administrative policy of the program shall be reviewed on an annual basis by the county board of supervisors and the correctional administrator. The rules and regulations shall be given to every participant.
  (f) Whenever the peace officer supervising a participant has reasonable cause to believe that the participant is not complying with the rules or conditions of the program, or that the electronic monitoring devices are unable to function properly in the designated place of confinement, the peace officer may, under general or specific authorization of the correctional administrator, and without a warrant of arrest, retake the person into custody.
  (g) (1) Nothing in this section shall be construed to require the correctional administrator to allow a person to participate in this program if it appears from the record that the person has not satisfactorily complied with reasonable rules and regulations while in custody. A person shall be eligible for participation in an electronic monitoring program only if the correctional administrator concludes that the person meets the criteria for release established under this section and that the person's participation is consistent with any reasonable rules and regulations prescribed by the board of supervisors or the administrative policy of the correctional administrator.
  (2) The correctional administrator, or his or her designee, shall have discretionary authority consistent with this section to permit program participation as an alternative to physical custody. All persons approved by the correctional administrator to participate in the electronic monitoring program pursuant to subdivision (c) who are denied participation and all persons removed from program participation shall be notified in writing of the specific reasons for the denial or removal. The notice of denial or removal shall include the participant's appeal rights, as established by program administrative policy.
  (h) The correctional administrator may permit electronic monitoring program participants to seek and retain employment in the community, attend psychological counseling sessions or educational or vocational training classes, or seek medical and dental assistance.
  (i) Willful failure of the program participant to return to the place of home detention prior to the expiration of any period of time during which he or she is authorized to be away from the place of home detention pursuant to this section and unauthorized departures from the place of home detention is punishable pursuant to Section 4532.
  (j) The board of supervisors may prescribe a program administrative fee to be paid by each electronic monitoring participant.
  (k) For purposes of this section, the following terms have the following meanings:
  (1) "Correctional administrator" means the sheriff, probation officer, or director of the county department of corrections.
  (2) "Electronic monitoring program" includes, but is not limited to, home detention programs, work furlough programs, and work release programs.
  (l) Notwithstanding any other law, upon request of a local law enforcement agency with jurisdiction over the location where a participant in an electronic monitoring program is placed, the correctional administrator shall provide the following information regarding participants in the electronic monitoring program:
  (1) The participant's name, address, and date of birth.
  (2) The offense or offenses alleged to have been committed by the participant.
  (3) The period of time the participant will be placed on home detention.
  (4) Whether the participant successfully completed the prescribed period of home detention or was returned to a county correctional facility, and if the person was returned to a county correctional facility, the reason for the return.
  (5) The gender and ethnicity of the participant.
  (m) Notwithstanding any other law, upon request of a local law enforcement agency with jurisdiction over the location where a participant in an electronic monitoring program is placed, the correctional administrator may, in his or her discretion and solely for investigatory purposes, provide current and historical GPS coordinates, if available.
  (n) A law enforcement agency that does not have the primary responsibility to supervise participants in the electronic monitoring program that receives information pursuant to subdivision (l) shall not use the information to conduct enforcement actions based on administrative violations of the home detention program. An agency that has knowledge that the subject in a criminal investigation is a participant in an electronic monitoring program shall make reasonable efforts to notify the supervising agency prior to serving a warrant or taking any law enforcement action against a participant in an electronic monitoring program.
  (o) It is the intent of the Legislature that electronic monitoring programs established under this section maintain the highest public confidence, credibility, and public safety. In the furtherance of these standards, the following shall apply:
  (1) The correctional administrator, with the approval of the board of supervisors, may administer an electronic monitoring program as provided in this section pursuant to written contracts with appropriate public or private agencies or entities to provide specified program services. A public or private agency or entity shall not operate a home detention program pursuant to this section in any county without a written contract with that county's correctional administrator. A public or private agency or entity entering into a contract pursuant to this subdivision shall not itself employ any person who is in the electronic monitoring program.
  (2) Program participants shall undergo the normal booking process for arrestees entering the jail. All electronic monitoring program participants shall be supervised.
  (3) (A) All privately operated electronic monitoring programs shall be under the jurisdiction of, and subject to the terms and conditions of the contract entered into with, the correctional administrator.
  (B) Each contract specified in subparagraph (A) shall include, but not be limited to, all of the following:
  (i) A provision whereby the private agency or entity agrees to operate in compliance with any available standards and all state and county laws applicable to the operation of electronic monitoring programs and the supervision of offenders in an electronic monitoring program.
  (ii) A provision that clearly defines areas of respective responsibility and liability of the county and the private agency or entity.
  (iii) A provision that requires the private agency or entity to demonstrate evidence of financial responsibility, submitted to and approved by the board of supervisors, in amounts and under conditions sufficient to fully indemnify the county for reasonably foreseeable public liability, including legal defense costs that may arise from, or be proximately caused by, acts or omissions of the contractor.
  (iv) A provision that requires the private agency or entity to provide evidence of financial responsibility, such as certificates of insurance or copies of insurance policies, prior to commencing any operations pursuant to the contract or at any time requested by the board of supervisors or correctional administrator.
  (v) A provision that requires an annual review by the correctional administrator to ensure compliance with requirements set by the board of supervisors and for adjustment of the financial responsibility requirements if warranted by caseload changes or other factors.
  (vi) A provision that permits the correctional administrator to immediately terminate the contract with a private agency or entity at any time that the contractor fails to demonstrate evidence of financial responsibility.
  (C) All privately operated electronic monitoring programs shall comply with all applicable ordinances and regulations specified in subdivision (a) of Section 1208.
  (D) The board of supervisors, the correctional administrator, and the designee of the correctional administrator shall comply with Section 1090 of the Government Code in the consideration, making, and execution of contracts pursuant to this section.
  (E) The failure of the private agency or entity to comply with state or county laws or with the standards established by the contract with the correctional administrator shall constitute cause to terminate the contract.
  (F) Upon the discovery that a private agency or entity with which there is a contract is not in compliance with this paragraph, the correctional administrator shall give 60 days' notice to the director of the private agency or entity that the contract may be canceled if the specified deficiencies are not corrected.
  (G) Shorter notice may be given or the contract may be canceled without notice whenever a serious threat to public safety is present because the private agency or entity has failed to comply with this section.
  (H) For purposes of this section, "evidence of financial responsibility" may include, but is not limited to, certified copies of any of the following:
  (i) A current liability insurance policy.
  (ii) A current errors and omissions insurance policy.
  (iii) A surety bond.
The court, or judge thereof, in granting probation to a defendant convicted of any of the offenses enumerated in Section 290 of this code shall inquire into the question whether the defendant at the time the offense was committed was intoxicated or addicted to the excessive use of alcoholic liquor or beverages at that time or immediately prior thereto, and if the court, or judge thereof, believes that the defendant was so intoxicated, or so addicted, such court, or judge thereof, shall require as a condition of such probation that the defendant totally abstain from the use of alcoholic liquor or beverages.
(a) In any case in which a defendant is convicted of an offense punishable by imprisonment in the state prison, the court, if it concludes that a just disposition of the case requires such diagnosis and treatment services as can be provided at a diagnostic facility of the Department of Corrections, may order that defendant be placed temporarily in such facility for a period not to exceed 90 days, with the further provision in such order that the Director of the Department of Corrections report to the court his diagnosis and recommendations concerning the defendant within the 90-day period.
  (b) The Director of the Department of Corrections shall, within the 90 days, cause defendant to be observed and examined and shall forward to the court his diagnosis and recommendation concerning the disposition of defendant's case. Such diagnosis and recommendation shall be embodied in a written report and copies of the report shall be served only upon the defendant or his counsel, the probation officer, and the prosecuting attorney by the court receiving such report. After delivery of the copies of the report, the information contained therein shall not be disclosed to anyone else without the consent of the defendant. After disposition of the case, all copies of the report, except the one delivered to the defendant or his counsel, shall be filed in a sealed file and shall be available thereafter only to the defendant or his counsel, the prosecuting attorney, the court, the probation officer, or the Department of Corrections.
  (c) Notwithstanding subdivision (b), the probation officer may retain a copy of the report for the purpose of supervision of the defendant if the defendant is placed on probation by the court. The report and information contained therein shall be confidential and shall not be disclosed to anyone else without the written consent of the defendant. Upon the completion or termination of probation, the copy of the report shall be returned by the probation officer to the sealed file prescribed in subdivision (b).
  (d) The Department of Corrections shall designate the place to which a person referred to it under the provisions of this section shall be transported. After the receipt of any such person, the department may return the person to the referring court if the director of the department, in his discretion, determines that the staff and facilities of the department are inadequate to provide such services.
  (e) The sheriff of the county in which an order is made placing a defendant in a diagnostic facility pursuant to this section, or any other peace officer designated by the court, shall execute the order placing such defendant in the center or returning him therefrom to the court. The expense of such sheriff or other peace officer incurred in executing such order is a charge upon the county in which the court is situated.
  (f) It is the intention of the Legislature that the diagnostic facilities made available to the counties by this section shall only be used for the purposes designated and not in lieu of sentences to local facilities.
  (g) Time spent by a defendant in confinement in a diagnostic facility of the Department of Corrections pursuant to this section or as an inpatient of the California Rehabilitation Center shall be credited on the term of imprisonment in state prison, if any, to which defendant is sentenced in the case.
  (h) In any case in which a defendant has been placed in a diagnostic facility pursuant to this section and, in the course of his confinement, he is determined to be suffering from a remediable condition relevant to his criminal conduct, the department may, with the permission of defendant, administer treatment for such condition. If such treatment will require a longer period of confinement than the period for which defendant was placed in the diagnostic facility, the Director of Corrections may file with the court which placed defendant in the facility a petition for extension of the period of confinement, to which shall be attached a writing signed by defendant giving his consent to the extension. If the court finds the petition and consent in order, it may order the extension, and transmit a copy of the order to the Director of Corrections.
(a) Except in unusual cases where the interests of justice would best be served if the person is granted probation, probation shall not be granted to any person convicted of a crime of theft of an amount exceeding one hundred thousand dollars ($100,000).
  (b) The fact that the theft was of an amount exceeding one hundred thousand dollars ($100,000) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by plea of guilty or nolo contendere or by trial by the court sitting without a jury.
  (c) When probation is granted, the court shall specify on the record and shall enter on the minutes the circumstances indicating that the interests of justice would best be served by such a disposition.
(a) Except in unusual cases where the interests of justice would best be served if the person is granted probation, probation shall not be granted to any person who is convicted of violating Section 653j by using, soliciting, inducing, encouraging, or intimidating a minor to commit a felony in violation of that section.
  (b) When probation is granted pursuant to subdivision (a), the court shall specify on the record and shall enter into the minutes the circumstances indicating that the interests of justice would best be served by that disposition.
A person convicted of a violation of paragraph (1), (2), (4), or (5) of subdivision (c) of Section 502, or of a felony violation of paragraph (3), (6), (7), or (8) of subdivision (c) of Section 502, or a violation of subdivision (b) of Section 502.7 may be granted probation, but, except in unusual cases where the ends of justice would be better served by a shorter period, the period of probation shall not be less than three years and the following terms shall be imposed. During the period of probation, that person shall not accept employment where that person would use a computer connected by any means to any other computer, except upon approval of the court and notice to and opportunity to be heard by the prosecuting attorney, probation department, prospective employer, and the convicted person. Court approval shall not be given unless the court finds that the proposed employment would not pose a risk to the public.
(a) Except in unusual cases where the interests of justice would best be served if the person is granted probation, probation shall not be granted to any person convicted of a violation of Section 502 or subdivision (b) of Section 502.7 involving the taking of or damage to property with a value exceeding one hundred thousand dollars ($100,000).
  (b) The fact that the value of the property taken or damaged was an amount exceeding one hundred thousand dollars ($100,000) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by plea of guilt or nolo contendere or by trial by the court sitting without a jury.
  (c) When probation is granted, the court shall specify on the record and shall enter on the minutes the circumstances indicating that the interests of justice would best be served by such a disposition.
(a) Except in unusual cases where the interest of justice would best be served if the person is granted probation, probation shall not be granted to any person who violates subdivision (f) or (g) of Section 10980 of the Welfare and Institutions Code, when the violation has been committed by means of the electronic transfer of CalFresh benefits, and the amount of the electronically transferred CalFresh benefits exceeds one hundred thousand dollars ($100,000).
  (b) The fact that the violation was committed by means of an electronic transfer of CalFresh benefits and the amount of the electronically transferred CalFresh benefits exceeds one hundred thousand dollars ($100,000) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by a plea of guilty or nolo contendere or by trial by the court sitting without a jury.
  (c) If probation is granted, the court shall specify on the record and shall enter on the minutes the circumstances indicating that the interests of justice would best be served by that disposition of the case.
Any report of the probation officer filed with the court, including any report arising out of a previous arrest of the person who is the subject of the report, may be inspected or copied only as follows:
  (a) By any person, from the date judgment is pronounced or probation granted or, in the case of a report arising out of a previous arrest, from the date the subsequent accusatory pleading is filed, to and including 60 days from the date judgment is pronounced or probation is granted, whichever is earlier.
  (b) By any person, at any time, by order of the court, upon filing a petition therefor by the person.
  (c) By the general public, if the court upon its own motion orders that a report or reports shall be open or that the contents of the report or reports shall be disclosed.
  (d) By any person authorized or required by law to inspect or receive copies of the report.
  (e) By the district attorney of the county at any time.
  (f) By the subject of the report at any time.
(a) Notwithstanding any other law, in sentencing a person convicted of committing or of attempting to commit one or more of the offenses listed in subdivision (b) against a person who is a passenger, operator, driver, or other occupant of any public transit vehicle whether the offense or attempt is committed within the vehicle or directed at the vehicle, the court shall require that the person serve some period of confinement. If probation is granted, it shall be a condition of probation that the person shall be confined in the county jail for some period of time. If the time spent in jail prior to arraignment is less than 24 hours, it shall not be considered to satisfy the requirement that some period of confinement be imposed. As used in this subdivision, "public transit vehicle" means any motor vehicle, streetcar, trackless trolley, bus, shuttle, light rail system, rapid transit system, subway, train, taxi cab, or jitney, which transports members of the public for hire.
  (b) Subdivision (a) applies to the following crimes:
  (1) Murder.
  (2) A violation of Section 241, 241.3, 241.4, 244, 245, 245.2, or 246.
  (3) Robbery, in violation of Section 211.
  (4) Kidnapping, in violation of Section 207.
  (5) Kidnapping, in violation of Section 209.
  (6) Battery, in violation of Section 243, 243.1, or 243.3.
  (7) Rape, in violation of Section 261, 262, 264, or 264.1.
  (8) Assault with intent to commit rape or sodomy, in violation of Section 220.
  (9) Any other offense in which the defendant inflicts great bodily injury on any person other than an accomplice. As used in this paragraph, "great bodily injury" means "great bodily injury" as defined in Section 12022.7.
  (10) Grand theft, in violation of subdivision (1) of Section 487.
  (11) Throwing of a hard substance or shooting a missile at a transit vehicle, in violation of Section 219.2.
  (12) Unlawfully causing a fire, in violation of Section 452.
  (13) Drawing, exhibiting, or using a firearm or deadly weapon, in violation of Section 417.
  (14) A violation of Section 214.
  (15) A violation of Section 215.
  (16) Kidnapping, in violation of Section 209.5.
  (c) Probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any person convicted of a felony offense falling within this section if the person has been previously convicted and sentenced pursuant to this section.
  (d) (1) The existence of any fact which would make a person ineligible for probation under subdivisions (a) and (c) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by a plea of guilty or nolo contendere or by a trial by the court sitting without a jury. A finding bringing the defendant within this section shall not be stricken pursuant to Section 1385 or any provision of law.
  (2) This subdivision does not prohibit the adjournment of criminal proceedings pursuant to Division 3 (commencing with Section 3000) or Division 6 (commencing with Section 6000) of the Welfare and Institutions Code.
  (e) The court shall require, as a condition of probation for any person convicted of committing a crime which took place on a public transit vehicle, except in any case in which the court makes a finding and states on the record clear and compelling reasons why the condition would be inappropriate, that the person make restitution to the victim. If restitution is found to be inappropriate, the court shall require as a condition of probation, except in any case in which the court makes a finding and states on the record its reasons that the condition would be inappropriate, that the defendant perform specified community service. Nothing in this subdivision shall be construed to limit the authority of a court to provide additional conditions of probation.
  (f) In any case in which a person is convicted of committing a crime which took place on a public transit vehicle, the probation officer shall immediately investigate and report to the court at a specified time whether, as a result of the crime, property damage or loss or personal injury was caused by the defendant, the amount of the damage, loss, or injury, and the feasibility of requiring restitution to be made by the defendant. When a probation report is required pursuant to Section 1203 the information required by this subdivision shall be added to that probation report.
(a) Notwithstanding any other provision of law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, nor shall a finding bringing the defendant within this section be stricken pursuant to Section 1385 for, any of the following persons:
  (1) Any person who personally used a firearm during the commission or attempted commission of any of the following crimes:
  (A) Murder.
  (B) Robbery, in violation of Section 211.
  (C) Kidnapping, in violation of Section 207, 209, or 209.5.
  (D) Lewd or lascivious act, in violation of Section 288.
  (E) Burglary of the first degree, as defined in Section 460.
  (F) Rape, in violation of Section 261, 262, or 264.1.
  (G) Assault with intent to commit a specified sexual offense, in violation of Section 220.
  (H) Escape, in violation of Section 4530 or 4532.
  (I) Carjacking, in violation of Section 215.
  (J) Aggravated mayhem, in violation of Section 205.
  (K) Torture, in violation of Section 206.
  (L) Continuous sexual abuse of a child, in violation of Section 288.5.
  (M) A felony violation of Section 136.1 or 137.
  (N) Sodomy, in violation of Section 286.
  (O) Oral copulation, in violation of Section 288a.
  (P) Sexual penetration, in violation of Section 289 or 264.1.
  (Q) Aggravated sexual assault of a child, in violation of Section 269.
  (2) Any person previously convicted of a felony specified in paragraph (1), or assault with intent to commit murder under former Section 217, who is convicted of a subsequent felony and who was personally armed with a firearm at any time during its commission or attempted commission or was unlawfully armed with a firearm at the time of his or her arrest for the subsequent felony.
  (3) Aggravated arson, in violation of Section 451.5.
  (b) (1) The existence of any fact that would make a person ineligible for probation under subdivision (a) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the trier of fact.
  (2) As used in subdivision (a), "used a firearm" means to display a firearm in a menacing manner, to intentionally fire it, to intentionally strike or hit a human being with it, or to use it in any manner that qualifies under Section 12022.5.
  (3) As used in subdivision (a), "armed with a firearm" means to knowingly carry or have available for use a firearm as a means of offense or defense.
(a) Notwithstanding any other provision of law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any person who is convicted of violating paragraph (2) or (6) of subdivision (a) of Section 261, Section 264.1, 266h, 266i, 266j, or 269, paragraph (2) or (3) of subdivision (c), or subdivision (d), of Section 286, paragraph (2) or (3) of subdivision (c), or subdivision (d), of Section 288a, Section 288.7, subdivision (a) of Section 289, or subdivision (b) of Section 311.4.
  (b) (1) Except in unusual cases where the interests of justice would best be served if the person is granted probation, probation shall not be granted to any person who is convicted of violating paragraph (7) of subdivision (a) of Section 261, subdivision (k) of Section 286, subdivision (k) of Section 288a, subdivision (g) of Section 289, or Section 220 for assault with intent to commit a specified sexual offense.
  (2) When probation is granted, the court shall specify on the record and shall enter on the minutes the circumstances indicating that the interests of justice would best be served by the disposition.
(a) Notwithstanding Section 1203 or any other law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, nor shall a finding bringing the defendant within the provisions of this section be stricken pursuant to Section 1385 for, any of the following persons:
  (1) A person who is convicted of violating Section 288 or 288.5 when the act is committed by the use of force, violence, duress, menace, or fear of immediate and unlawful bodily injury on the victim or another person.
  (2) A person who caused bodily injury on the child victim in committing a violation of Section 288 or 288.5.
  (3) A person who is convicted of a violation of Section 288 or 288.5 and who was a stranger to the child victim or befriended the child victim for the purpose of committing an act in violation of Section 288 or 288.5, unless the defendant honestly and reasonably believed the victim was 14 years of age or older.
  (4) A person who used a weapon during the commission of a violation of Section 288 or 288.5.
  (5) A person who is convicted of committing a violation of Section 288 or 288.5 and who has been previously convicted of a violation of Section 261, 262, 264.1, 266, 266c, 267, 285, 286, 288, 288.5, 288a, or 289, or of assaulting another person with intent to commit a crime specified in this paragraph in violation of Section 220, or who has been previously convicted in another state of an offense which, if committed or attempted in this state, would constitute an offense enumerated in this paragraph.
  (6) A person who violated Section 288 or 288.5 while kidnapping the child victim in violation of Section 207, 209, or 209.5.
  (7) A person who is convicted of committing a violation of Section 288 or 288.5 against more than one victim.
  (8) A person who, in violating Section 288 or 288.5, has substantial sexual conduct with a victim who is under 14 years of age.
  (9) A person who, in violating Section 288 or 288.5, used obscene matter, as defined in Section 311, or matter, as defined in Section 311, depicting sexual conduct, as defined in Section 311.3.
  (b) "Substantial sexual conduct" means penetration of the vagina or rectum of either the victim or the offender by the penis of the other or by any foreign object, oral copulation, or masturbation of either the victim or the offender.
  (c) (1) Except for a violation of subdivision (b) of Section 288, this section shall only apply if the existence of any fact required in subdivision (a) is alleged in the accusatory pleading and is either admitted by the defendant in open court, or found to be true by the trier of fact.
  (2) For the existence of any fact under paragraph (7) of subdivision (a), the allegation must be made pursuant to this section.
  (d) (1) If a person is convicted of a violation of Section 288 or 288.5, and the factors listed in subdivision (a) are not pled or proven, probation may be granted only if the following terms and conditions are met:
  (A) If the defendant is a member of the victim's household, the court finds that probation is in the best interest of the child victim.
  (B) The court finds that rehabilitation of the defendant is feasible and that the defendant is amenable to undergoing treatment, and the defendant is placed in a recognized treatment program designed to deal with child molestation immediately after the grant of probation or the suspension of execution or imposition of sentence.
  (C) If the defendant is a member of the victim's household, probation shall not be granted unless the defendant is removed from the household of the victim until the court determines that the best interests of the victim would be served by his or her return. While removed from the household, the court shall prohibit contact by the defendant with the victim, with the exception that the court may permit supervised contact, upon the request of the director of the court-ordered supervised treatment program, and with the agreement of the victim and the victim's parent or legal guardian, other than the defendant.
  (D) If the defendant is not a member of the victim's household, the court shall prohibit the defendant from being placed or residing within one-half mile of the child victim's residence for the duration of the probation term unless the court, on the record, states its reasons for finding that this residency restriction would not serve the best interests of the victim.
  (E) The court finds that there is no threat of physical harm to the victim if probation is granted.
  (2) The court shall state its reasons on the record for whatever sentence it imposes on the defendant.
  (3) The court shall order the psychiatrist or psychologist who is appointed pursuant to Section 288.1 to include a consideration of the factors specified in subparagraphs (A), (B), and (C) of paragraph (1) in making his or her report to the court.
  (4) The court shall order the defendant to comply with all probation requirements, including the requirements to attend counseling, keep all program appointments, and pay program fees based upon ability to pay.
  (5) No victim shall be compelled to participate in a program or counseling, and no program may condition a defendant's enrollment on participation by the victim.
  (e) As used in subdivision (d), the following definitions apply:
  (1) "Contact with the victim" includes all physical contact, being in the presence of the victim, communicating by any means, including by a third party acting on behalf of the defendant, or sending any gifts.
  (2) "Recognized treatment program" means a program that consists of the following components:
  (A) Substantial expertise in the treatment of child sexual abuse.
  (B) A treatment regimen designed to specifically address the offense.
  (C) The ability to serve indigent clients.
  (D) Adequate reporting requirements to ensure that all persons who, after being ordered to attend and complete a program, may be identified for either failure to enroll in, or failure to successfully complete, the program, or for the successful completion of the program as ordered. The program shall notify the court and the probation department, in writing, within the period of time and in the manner specified by the court of any person who fails to complete the program. Notification shall be given if the program determines that the defendant is performing unsatisfactorily or if the defendant is not benefiting from the education, treatment, or counseling.
(a) Notwithstanding any other law, before probation may be granted to any person convicted of a felony specified in Section 261, 262, 264.1, 286, 288, 288a, 288.5, or 289, who is eligible for probation, the court shall do all of the following:
  (1) Order the defendant evaluated pursuant to Section 1203.03, or similar evaluation by the county probation department.
  (2) Conduct a hearing at the time of sentencing to determine if probation of the defendant would pose a threat to the victim. The victim shall be notified of the hearing by the prosecuting attorney and given an opportunity to address the court.
  (3) Order any psychiatrist or psychologist appointed pursuant to Section 288.1 to include a consideration of the threat to the victim and the defendant's potential for positive response to treatment in making his or her report to the court. Nothing in this section shall be construed to require the court to order an examination of the victim.
  (b) On or after July 1, 2012, the terms of probation for persons placed on formal probation for an offense that requires registration pursuant to Sections 290 to 290.023, inclusive, shall include all of the following:
  (1) Persons placed on formal probation prior to July 1, 2012, shall participate in an approved sex offender management program, following the standards developed pursuant to Section 9003, for a period of not less than one year or the remaining term of probation if it is less than one year. The length of the period in the program is to be determined by the certified sex offender management professional in consultation with the probation officer and as approved by the court. Participation in this program applies to every person described without regard to when his or her crime or crimes were committed.
  (2) Persons placed on formal probation on or after July 1, 2012, shall successfully complete a sex offender management program, following the standards developed pursuant to Section 9003, as a condition of release from probation. The length of the period in the program shall be not less than one year, up to the entire period of probation, as determined by the certified sex offender management professional in consultation with the probation officer and as approved by the court. Participation in this program applies to each person without regard to when his or her crime or crimes were committed.
  (3) Waiver of any privilege against self-incrimination and participation in polygraph examinations, which shall be part of the sex offender management program.
  (4) Waiver of any psychotherapist-patient privilege to enable communication between the sex offender management professional and supervising probation officer, pursuant to Section 290.09.
  (c) Any defendant ordered to be placed in an approved sex offender management program pursuant to subdivision (b) shall be responsible for paying the expense of his or her participation in the program as determined by the court. The court shall take into consideration the ability of the defendant to pay, and no defendant shall be denied probation because of his or her inability to pay.
(a) Notwithstanding Section 1203, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any of the following persons:
  (1) Any person who is convicted of violating Section 11351 of the Health and Safety Code by possessing for sale 14.25 grams or more of a substance containing heroin.
  (2) Any person who is convicted of violating Section 11352 of the Health and Safety Code by selling or offering to sell 14.25 grams or more of a substance containing heroin.
  (3) Any person convicted of violating Section 11351 of the Health and Safety Code by possessing heroin for sale or convicted of violating Section 11352 of the Health and Safety Code by selling or offering to sell heroin, and who has one or more prior convictions for violating Section 11351 or Section 11352 of the Health and Safety Code.
  (4) Any person who is convicted of violating Section 11378.5 of the Health and Safety Code by possessing for sale 14.25 grams or more of any salt or solution of phencyclidine or any of its analogs as specified in paragraph (21), (22), or (23) of subdivision (d) of Section 11054 or in paragraph (3) of subdivision (e) of Section 11055 of the Health and Safety Code, or any of the precursors of phencyclidine as specified in paragraph (2) of subdivision (f) of Section 11055 of the Health and Safety Code.
  (5) Any person who is convicted of violating Section 11379.5 of the Health and Safety Code by transporting for sale, importing for sale, or administering, or offering to transport for sale, import for sale, or administer, or by attempting to import for sale or transport for sale, phencyclidine or any of its analogs or precursors.
  (6) Any person who is convicted of violating Section 11379.5 of the Health and Safety Code by selling or offering to sell phencyclidine or any of its analogs or precursors.
  (7) Any person who is convicted of violating Section 11379.6 of the Health and Safety Code by manufacturing or offering to perform an act involving the manufacture of phencyclidine or any of its analogs or precursors. As used in this section "manufacture" refers to the act of any person who manufactures, compounds, converts, produces, derives, processes, or prepares, either directly or indirectly by chemical extraction or independently by means of chemical synthesis.
  (8) Any person who is convicted of violating Section 11380 of the Health and Safety Code by using, soliciting, inducing, encouraging, or intimidating a minor to act as an agent to manufacture, compound, or sell any controlled substance specified in subdivision (d) of Section 11054 of the Health and Safety Code, except paragraphs (13), (14), (15), (20), (21), (22), and (23) of subdivision (d), or specified in subdivision (d), (e), or (f) of Section 11055 of the Health and Safety Code, except paragraph (3) of subdivision (e) and subparagraphs (A) and (B) of paragraph (2) of subdivision (f).
  (9) Any person who is convicted of violating Section 11380.5 of the Health and Safety Code by the use of a minor as an agent or who solicits, induces, encourages, or intimidates a minor with the intent that the minor shall violate the provisions of Section 11378.5, 11379.5, or 11379.6 of the Health and Safety Code insofar as the violation relates to phencyclidine or any of its analogs or precursors.
  (10) Any person who is convicted of violating subdivision (b) of Section 11383 of the Health and Safety Code by possessing piperidine, pyrrolidine, or morpholine, and cyclohexanone, with intent to manufacture phencyclidine or any of its analogs.
  (11) Any person convicted of violating Section 11351, 11351.5, or 11378 of the Health and Safety Code by possessing for sale cocaine base, cocaine, or methamphetamine, or convicted of violating Section 11352 or 11379 of the Health and Safety Code, by selling or offering to sell cocaine base, cocaine, or methamphetamine and who has one or more convictions for violating Section 11351, 11351.5, 11352, 11378, 11378.5, 11379, or 11379.5 of the Health and Safety Code. For purposes of prior convictions under Sections 11352, 11379, and 11379.5 of the Health and Safety Code, this subdivision shall not apply to the transportation, offering to transport, or attempting to transport a controlled substance.
  (b) The existence of any fact which would make a person ineligible for probation under subdivision (a) shall be alleged in the information or indictment, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by plea of guilty or nolo contendere or by trial by the court sitting without a jury.
(a) A person convicted of a felony specified in subdivision (b) may be granted probation only in an unusual case where the interests of justice would best be served. When probation is granted in such a case, the court shall specify on the record and shall enter in the minutes the circumstances indicating that the interests of justice would best be served by such a disposition.
  (b) Except as provided in subdivision (a), probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any of the following persons:
  (1) Any person who is convicted of violating Section 11351 or 11351.5 of the Health and Safety Code by possessing for sale, or Section 11352 of the Health and Safety Code by selling, a substance containing 28.5 grams or more of cocaine as specified in paragraph (6) of subdivision (b) of Section 11055 of, or cocaine base as specified in paragraph (1) of subdivision (f) of Section 11054 of, the Health and Safety Code, or 57 grams or more of a substance containing at least five grams of cocaine as specified in paragraph (6) of subdivision (b) of Section 11055 of, or cocaine base as specified in paragraph (1) of subdivision (f) of Section 11054 of, the Health and Safety Code.
  (2) Any person who is convicted of violating Section 11378 of the Health and Safety Code by possessing for sale, or Section 11379 of the Health and Safety Code by selling a substance containing 28.5 grams or more of methamphetamine or 57 grams or more of a substance containing methamphetamine.
  (3) Any person who is convicted of violating subdivision (a) of Section 11379.6 of the Health and Safety Code, except those who manufacture phencyclidine, or who is convicted of an act which is punishable under subdivision (b) of Section 11379.6 of the Health and Safety Code, except those who offer to perform an act which aids in the manufacture of phencyclidine.
  (4) Except as otherwise provided in Section 1203.07, any person who is convicted of violating Section 11353 or 11380 of the Health and Safety Code by using, soliciting, inducing, encouraging, or intimidating a minor to manufacture, compound, or sell heroin, cocaine base as specified in paragraph (1) of subdivision (f) of Section 11054 of the Health and Safety Code, cocaine as specified in paragraph (6) of subdivision (b) of Section 11055 of the Health and Safety Code, or methamphetamine.
  (5) Any person convicted of violating Section 11379.6, 11382, or 11383 of the Health and Safety Code with respect to methamphetamine, if he or she has one or more prior convictions for a violation of Section 11378, 11379, 11379.6, 11380, 11382, or 11383 of the Health and Safety Code with respect to methamphetamine.
  (c) As used in this section, the term "manufacture" refers to the act of any person who manufactures, compounds, converts, produces, derives, processes, or prepares, either directly or indirectly by chemical extraction or independently by means of chemical synthesis.
  (d) The existence of any previous conviction or fact which would make a person ineligible for probation under this section shall be alleged in the information or indictment, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by a plea of guilty or nolo contendere or by trial by the court sitting without a jury.
(a) A person convicted of a felony specified in subdivision (b) may be granted probation only in an unusual case where the interests of justice would best be served; when probation is granted in such a case, the court shall specify on the record and shall enter in the minutes the circumstances indicating that the interests of justice would best be served by such a disposition.
  (b) Except as provided in subdivision (a), probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any person who is convicted of violating Section 11366.6 of the Health and Safety Code.
(a) Notwithstanding any other provision of law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, nor shall a finding bringing the defendant within this section be stricken pursuant to Section 1385 for, any person who personally inflicts great bodily injury, as defined in Section 12022.7, on the person of another in the commission or attempted commission of any of the following crimes:
  (1) Murder.
  (2) Robbery, in violation of Section 211.
  (3) Kidnapping, in violation of Section 207, 209, or 209.5.
  (4) Lewd or lascivious act, in violation of Section 288.
  (5) Burglary of the first degree, as defined in Section 460.
  (6) Rape, in violation of Section 261, 262, or 264.1.
  (7) Assault with intent to commit a specified sexual offense, in violation of Section 220.
  (8) Escape, in violation of Section 4530 or 4532.
  (9) Sexual penetration, in violation of Section 289 or 264.1.
  (10) Sodomy, in violation of Section 286.
  (11) Oral copulation, in violation of Section 288a.
  (12) Carjacking, in violation of Section 215.
  (13) Continuous sexual abuse of a child, in violation of Section 288.5.
  (14) Aggravated sexual assault of a child, in violation of Section 269.
  (b) The existence of any fact that would make a person ineligible for probation under subdivision (a) shall be alleged in the accusatory pleading, and either admitted by the defendant in open court, or found to be true by the trier of fact.
Any person convicted of violating Section 11352 of the Health and Safety Code relating to the sale of cocaine, cocaine hydrochloride, or heroin, or Section 11379.5 of the Health and Safety Code, who is eligible for probation and who is granted probation shall, as a condition thereof, be confined in the county jail for at least 180 days. The imposition of the minimum 180-day sentence shall be imposed in every case where probation has been granted, except that the court may, in an unusual case where the interests of justice would best be served, absolve a person from spending the 180-day sentence in the county jail if the court specifies on the record and enters into the minutes, the circumstances indicating that the interests of justice would best be served by that disposition.
(a) Notwithstanding any other law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any adult person convicted of a designated felony who has been previously convicted as an adult under charges separately brought and tried two or more times of any designated felony or in any other place of a public offense which, if committed in this state, would have been punishable as a designated felony, if all the convictions occurred within a 10-year period. The 10-year period shall be calculated exclusive of any period of time during which the person has been confined in a state or federal prison.
  (b) (1) The existence of any fact which would make a person ineligible for probation under subdivision (a) shall be alleged in the information or indictment, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by plea of guilty or nolo contendere or by trial by the court sitting without a jury.
  (2) Except where the existence of the fact was not admitted or found to be true pursuant to paragraph (1), or the court finds that a prior conviction was invalid, the court shall not strike or dismiss any prior convictions alleged in the information or indictment.
  (3) This subdivision does not prohibit the adjournment of criminal proceedings pursuant to Division 3 (commencing with Section 3000) or Division 6 (commencing with Section 6000) of the Welfare and Institutions Code.
  (c) As used in this section, "designated felony" means any felony specified in Section 187, 192, 207, 209, 209.5, 211, 215, 217, 245, 288, or paragraph (2), (6), or (7) of subdivision (a) of Section 261, paragraph (1), (4), or (5) of subdivision (a) of Section 262, subdivision (a) of Section 460, or when great bodily injury occurs in perpetration of an assault to commit robbery, mayhem, or rape, as defined in Section 220.
(a) Any person convicted of an offense punishable by imprisonment in the state prison but without an alternate sentence to a county jail shall not be granted probation or have the execution or imposition of sentence suspended, if the offense was committed while the person was on parole from state prison pursuant to Section 3000, following a term of imprisonment imposed for a violent felony, as defined in subdivision (c) of Section 667.5, or a serious felony, as defined in subdivision (c) of Section 1192.7.
  (b) Any person convicted of a violent felony, as defined in subdivision (c) of Section 667.5, or a serious felony, as defined in subdivision (c) of Section 1192.7, shall not be granted probation or have the execution or imposition of sentence suspended, if the offense was committed while the person was on parole from state prison pursuant to Section 3000.
  (c) The existence of any fact that would make a person ineligible for probation under subdivision (a) or (b) shall be alleged in the information or indictment, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by plea of guilty or nolo contendere or by trial by the court sitting without a jury.
(a) Notwithstanding any other law, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any person who commits or attempts to commit one or more of the crimes listed in subdivision (b) against a person who is 60 years of age or older; or against a person who is blind, a paraplegic, a quadriplegic, or a person confined to a wheelchair and that disability is known or reasonably should be known to the person committing the crime; and who during the course of the offense inflicts great bodily injury upon the person.
  (b) Subdivision (a) applies to the following crimes:
  (1) Murder.
  (2) Robbery, in violation of Section 211.
  (3) Kidnapping, in violation of Section 207.
  (4) Kidnapping, in violation of Section 209.
  (5) Burglary of the first degree, as defined in Section 460.
  (6) Rape by force or violence, in violation of paragraph (2) or (6) of subdivision (a) of Section 261 or paragraph (1) or (4) of subdivision (a) of Section 262.
  (7) Assault with intent to commit rape or sodomy, in violation of Section 220.
  (8) Carjacking, in violation of Section 215.
  (9) Kidnapping, in violation of Section 209.5.
  (c) The existence of any fact which would make a person ineligible for probation under either subdivision (a) or (f) shall be alleged in the information or indictment, and either admitted by the defendant in open court, or found to be true by the jury trying the issue of guilt or by the court where guilt is established by plea of guilty or nolo contendere or by trial by the court sitting without a jury.
  (d) As used in this section "great bodily injury" means "great bodily injury" as defined in Section 12022.7.
  (e) This section shall apply in all cases, including those cases where the infliction of great bodily injury is an element of the offense.
  (f) Except in unusual cases where the interests of justice would best be served if the person is granted probation, probation shall not be granted to, nor shall the execution or imposition of sentence be suspended for, any person convicted of having committed one or more of the following crimes against a person who is 60 years of age or older: assault with a deadly weapon or instrument, battery which results in physical injury which requires professional medical treatment, carjacking, robbery, or mayhem.
(a) Except as provided in subdivision (b), but notwithstanding any other provision of law, if any person convicted of a violation of paragraph (2) of subdivision (a) of Section 245, of a violation of paragraph (1) of subdivision (d) of Section 245, of a violation of Section 246, or a violation of subdivision (c) of Section 417, is granted probation or the execution or imposition of sentence is suspended, it shall be a condition thereof that he or she be imprisoned for at least six months, and if any person convicted of a violation of paragraph (2) of subdivision (a) of Section 417 is granted probation or the execution or imposition of sentence is suspended, it shall be a condition thereof that he or she be imprisoned for at least three months.
  (b) The provisions of subdivision (a) shall apply except in unusual cases where the interests of justice would best be served by granting probation or suspending the imposition or execution of sentence without the imprisonment required by subdivision (a), or by granting probation or suspending the imposition or execution of sentence with conditions other than those set forth in subdivision (a), in which case the court shall specify on the record and shall enter on the minutes the circumstances indicating that the interests of justice would best be served by such a disposition.
  (c) This section does not prohibit the adjournment of criminal proceedings pursuant to Division 3 (commencing with Section 3000) or Division 6 (commencing with Section 6000) of the Welfare and Institutions Code.
(a) Upon conviction of any felony in which the defendant is sentenced to state prison and in which the court makes the findings set forth in subdivision (b), a court shall, in addition to any other terms of imprisonment, fine, and conditions, recommend in writing that the defendant participate in a counseling or education program having a substance abuse component while imprisoned.
  (b) The court shall make the recommendation specified in subdivision (a) if it finds that any of the following are true:
  (1) That the defendant at the time of the commission of the offense was under the influence of any alcoholic beverages.
  (2) That the defendant at the time of the commission of the offense was under the influence of any controlled substance.
  (3) That the defendant has a demonstrated history of substance abuse.
  (4) That the offense or offenses for which the defendant was convicted are drug related.
(a) If a person is granted probation for a crime in which the victim is a person defined in Section 6211 of the Family Code, the terms of probation shall include all of the following:
  (1) A minimum period of probation of 36 months, which may include a period of summary probation as appropriate.
  (2) A criminal court protective order protecting the victim from further acts of violence, threats, stalking, sexual abuse, and harassment, and, if appropriate, containing residence exclusion or stay-away conditions.
  (3) Notice to the victim of the disposition of the case.
  (4) Booking the defendant within one week of sentencing if the defendant has not already been booked.
  (5) (A) A minimum payment by the defendant of a fee of five hundred dollars ($500) to be disbursed as specified in this paragraph. If, after a hearing in open court, the court finds that the defendant does not have the ability to pay, the court may reduce or waive this fee. If the court exercises its discretion to reduce or waive the fee, it shall state the reason on the record.
  (B) Two-thirds of the moneys deposited with the county treasurer pursuant to this section shall be retained by counties and deposited in the domestic violence programs special fund created pursuant to Section 18305 of the Welfare and Institutions Code, to be expended for the purposes of Chapter 5 (commencing with Section 18290) of Part 6 of Division 9 of the Welfare and Institutions Code. Of the moneys deposited in the domestic violence programs special fund, no more than 8 percent may be used for administrative costs, as specified in Section 18305 of the Welfare and Institutions Code.
  (C) The remaining one-third of the moneys shall be transferred, once a month, to the Controller for deposit in equal amounts in the Domestic Violence Restraining Order Reimbursement Fund and in the Domestic Violence Training and Education Fund, which are hereby created, in an amount equal to one-third of funds collected during the preceding month. Moneys deposited into these funds pursuant to this section shall be available upon appropriation by the Legislature and shall be distributed each fiscal year as follows:
  (i) Funds from the Domestic Violence Restraining Order Reimbursement Fund shall be distributed to local law enforcement or other criminal justice agencies for state-mandated local costs resulting from the notification requirements set forth in subdivision (b) of Section 6380 of the Family Code, based on the annual notification from the Department of Justice of the number of restraining orders issued and registered in the state domestic violence restraining order registry maintained by the Department of Justice, for the development and maintenance of the domestic violence restraining order databank system.
  (ii) Funds from the Domestic Violence Training and Education Fund shall support a statewide training and education program to increase public awareness of domestic violence and to improve the scope and quality of services provided to the victims of domestic violence. Grants to support this program shall be awarded on a competitive basis and be administered by the State Department of Public Health, in consultation with the statewide domestic violence coalition, which is eligible to receive funding under this section.
  (D) The fee imposed by this paragraph shall be treated as a fee, not as a fine, and shall not be subject to reduction for time served as provided pursuant to Section 1205 or 2900.5.
  (E) The fee imposed by this paragraph may be collected by the collecting agency, or the agency's designee, after the termination of the period of probation, whether probation is terminated by revocation or by completion of the term.
  (6) Successful completion of a batterer's program, as defined in subdivision (c), or if none is available, another appropriate counseling program designated by the court, for a period not less than one year with periodic progress reports by the program to the court every three months or less and weekly sessions of a minimum of two hours class time duration. The defendant shall attend consecutive weekly sessions, unless granted an excused absence for good cause by the program for no more than three individual sessions during the entire program, and shall complete the program within 18 months, unless, after a hearing, the court finds good cause to modify the requirements of consecutive attendance or completion within 18 months.
  (7) (A) (i) The court shall order the defendant to comply with all probation requirements, including the requirements to attend counseling, keep all program appointments, and pay program fees based upon the ability to pay.
  (ii) The terms of probation for offenders shall not be lifted until all reasonable fees due to the counseling program have been paid in full, but in no case shall probation be extended beyond the term provided in subdivision (a) of Section 1203.1. If the court finds that the defendant does not have the ability to pay the fees based on the defendant's changed circumstances, the court may reduce or waive the fees.
  (B) Upon request by the batterer's program, the court shall provide the defendant's arrest report, prior incidents of violence, and treatment history to the program.
  (8) The court also shall order the defendant to perform a specified amount of appropriate community service, as designated by the court. The defendant shall present the court with proof of completion of community service and the court shall determine if the community service has been satisfactorily completed. If sufficient staff and resources are available, the community service shall be performed under the jurisdiction of the local agency overseeing a community service program.
  (9) If the program finds that the defendant is unsuitable, the program shall immediately contact the probation department or the court. The probation department or court shall either recalendar the case for hearing or refer the defendant to an appropriate alternative batterer's program.
  (10) (A) Upon recommendation of the program, a court shall require a defendant to participate in additional sessions throughout the probationary period, unless it finds that it is not in the interests of justice to do so, states its reasons on the record, and enters them into the minutes. In deciding whether the defendant would benefit from more sessions, the court shall consider whether any of the following conditions exists:
  (i) The defendant has been violence free for a minimum of six months.
  (ii) The defendant has cooperated and participated in the batterer' s program.
  (iii) The defendant demonstrates an understanding of and practices positive conflict resolution skills.
  (iv) The defendant blames, degrades, or has committed acts that dehumanize the victim or puts at risk the victim's safety, including, but not limited to, molesting, stalking, striking, attacking, threatening, sexually assaulting, or battering the victim.
  (v) The defendant demonstrates an understanding that the use of coercion or violent behavior to maintain dominance is unacceptable in an intimate relationship.
  (vi) The defendant has made threats to harm anyone in any manner.
  (vii) The defendant has complied with applicable requirements under paragraph (6) of subdivision (c) or subparagraph (C) to receive alcohol counseling, drug counseling, or both.
  (viii) The defendant demonstrates acceptance of responsibility for the abusive behavior perpetrated against the victim.
  (B) The program shall immediately report any violation of the terms of the protective order, including any new acts of violence or failure to comply with the program requirements, to the court, the prosecutor, and, if formal probation has been ordered, to the probation department. The probationer shall file proof of enrollment in a batterer's program with the court within 30 days of conviction.
  (C) Concurrent with other requirements under this section, in addition to, and not in lieu of, the batterer's program, and unless prohibited by the referring court, the probation department or the court may make provisions for a defendant to use his or her resources to enroll in a chemical dependency program or to enter voluntarily a licensed chemical dependency recovery hospital or residential treatment program that has a valid license issued by the state to provide alcohol or drug services to receive program participation credit, as determined by the court. The probation department shall document evidence of this hospital or residential treatment participation in the defendant's program file.
  (11) The conditions of probation may include, in lieu of a fine, but not in lieu of the fund payment required under paragraph (5), one or more of the following requirements:
  (A) That the defendant make payments to a battered women's shelter, up to a maximum of five thousand dollars ($5,000).
  (B) That the defendant reimburse the victim for reasonable expenses that the court finds are the direct result of the defendant' s offense. For any order to pay a fine, to make payments to a battered women' s shelter, or to pay restitution as a condition of probation under this subdivision, the court shall make a determination of the defendant's ability to pay. Determination of a defendant's ability to pay may include his or her future earning capacity. A defendant shall bear the burden of demonstrating lack of his or her ability to pay. Express findings by the court as to the factors bearing on the amount of the fine shall not be required. In no event shall any order to make payments to a battered women's shelter be made if it would impair the ability of the defendant to pay direct restitution to the victim or court-ordered child support. When the injury to a married person is caused, in whole or in part, by the criminal acts of his or her spouse in violation of this section, the community property shall not be used to discharge the liability of the offending spouse for restitution to the injured spouse, as required by Section 1203.04, as operative on or before August 2, 1995, or Section 1202.4, or to a shelter for costs with regard to the injured spouse, until all separate property of the offending spouse is exhausted.
  (12) If it appears to the prosecuting attorney, the court, or the probation department that the defendant is performing unsatisfactorily in the assigned program, is not benefiting from counseling, or has engaged in criminal conduct, upon request of the probation officer, the prosecuting attorney, or on its own motion, the court, as a priority calendar item, shall hold a hearing to determine whether further sentencing should proceed. The court may consider factors, including, but not limited to, any violence by the defendant against the former or a new victim while on probation and noncompliance with any other specific condition of probation. If the court finds that the defendant is not performing satisfactorily in the assigned program, is not benefiting from the program, has not complied with a condition of probation, or has engaged in criminal conduct, the court shall terminate the defendant's participation in the program and shall proceed with further sentencing.
  (b) If a person is granted formal probation for a crime in which the victim is a person defined in Section 6211 of the Family Code, in addition to the terms specified in subdivision (a), all of the following shall apply:
  (1) The probation department shall make an investigation and take into consideration the defendant's age, medical history, employment and service records, educational background, community and family ties, prior incidents of violence, police report, treatment history, if any, demonstrable motivation, and other mitigating factors in determining which batterer's program would be appropriate for the defendant. This information shall be provided to the batterer's program if it is requested. The probation department shall also determine which community programs the defendant would benefit from and which of those programs would accept the defendant. The probation department shall report its findings and recommendations to the court.
  (2) The court shall advise the defendant that the failure to report to the probation department for the initial investigation, as directed by the court, or the failure to enroll in a specified program, as directed by the court or the probation department, shall result in possible further incarceration. The court, in the interests of justice, may relieve the defendant from the prohibition set forth in this subdivision based upon the defendant's mistake or excusable neglect. Application for this relief shall be filed within 20 court days of the missed deadline. This time limitation may not be extended. A copy of any application for relief shall be served on the office of the prosecuting attorney.
  (3) After the court orders the defendant to a batterer's program, the probation department shall conduct an initial assessment of the defendant, including, but not limited to, all of the following:
  (A) Social, economic, and family background.
  (B) Education.
  (C) Vocational achievements.
  (D) Criminal history.
  (E) Medical history.
  (F) Substance abuse history.
  (G) Consultation with the probation officer.
  (H) Verbal consultation with the victim, only if the victim desires to participate.
  (I) Assessment of the future probability of the defendant committing murder.
  (4) The probation department shall attempt to notify the victim regarding the requirements for the defendant's participation in the batterer's program, as well as regarding available victim resources. The victim also shall be informed that attendance in any program does not guarantee that an abuser will not be violent.
  (c) The court or the probation department shall refer defendants only to batterer's programs that follow standards outlined in paragraph (1), which may include, but are not limited to, lectures, classes, group discussions, and counseling. The probation department shall design and implement an approval and renewal process for batterer's programs and shall solicit input from criminal justice agencies and domestic violence victim advocacy programs.
  (1) The goal of a batterer's program under this section shall be to stop domestic violence. A batterer's program shall consist of the following components:
  (A) Strategies to hold the defendant accountable for the violence in a relationship, including, but not limited to, providing the defendant with a written statement that the defendant shall be held accountable for acts or threats of domestic violence.
  (B) A requirement that the defendant participate in ongoing same-gender group sessions.
  (C) An initial intake that provides written definitions to the defendant of physical, emotional, sexual, economic, and verbal abuse, and the techniques for stopping these types of abuse.
  (D) Procedures to inform the victim regarding the requirements for the defendant's participation in the intervention program as well as regarding available victim resources. The victim also shall be informed that attendance in any program does not guarantee that an abuser will not be violent.
  (E) A requirement that the defendant attend group sessions free of chemical influence.
  (F) Educational programming that examines, at a minimum, gender roles, socialization, the nature of violence, the dynamics of power and control, and the effects of abuse on children and others.
  (G) A requirement that excludes any couple counseling or family counseling, or both.
  (H) Procedures that give the program the right to assess whether or not the defendant would benefit from the program and to refuse to enroll the defendant if it is determined that the defendant would not benefit from the program, so long as the refusal is not because of the defendant's inability to pay. If possible, the program shall suggest an appropriate alternative program.
  (I) Program staff who, to the extent possible, have specific knowledge regarding, but not limited to, spousal abuse, child abuse, sexual abuse, substance abuse, the dynamics of violence and abuse, the law, and procedures of the legal system.
  (J) Program staff who are encouraged to utilize the expertise, training, and assistance of local domestic violence centers.
  (K) A requirement that the defendant enter into a written agreement with the program, which shall include an outline of the contents of the program, the attendance requirements, the requirement to attend group sessions free of chemical influence, and a statement that the defendant may be removed from the program if it is determined that the defendant is not benefiting from the program or is disruptive to the program.
  (L) A requirement that the defendant sign a confidentiality statement prohibiting disclosure of any information obtained through participating in the program or during group sessions regarding other participants in the program.
  (M) Program content that provides cultural and ethnic sensitivity.
  (N) A requirement of a written referral from the court or probation department prior to permitting the defendant to enroll in the program. The written referral shall state the number of minimum sessions required by the court.
  (O) Procedures for submitting to the probation department all of the following uniform written responses:
  (i) Proof of enrollment, to be submitted to the court and the probation department and to include the fee determined to be charged to the defendant, based upon the ability to pay, for each session.
  (ii) Periodic progress reports that include attendance, fee payment history, and program compliance.
  (iii) Final evaluation that includes the program's evaluation of the defendant's progress, using the criteria set forth in subparagraph (A) of paragraph (10) of subdivision (a), and recommendation for either successful or unsuccessful termination or continuation in the program.
  (P) A sliding fee schedule based on the defendant's ability to pay. The batterer's program shall develop and utilize a sliding fee scale that recognizes both the defendant's ability to pay and the necessity of programs to meet overhead expenses. An indigent defendant may negotiate a deferred payment schedule, but shall pay a nominal fee, if the defendant has the ability to pay the nominal fee. Upon a hearing and a finding by the court that the defendant does not have the financial ability to pay the nominal fee, the court shall waive this fee. The payment of the fee shall be made a condition of probation if the court determines the defendant has the present ability to pay the fee. The fee shall be paid during the term of probation unless the program sets other conditions. The acceptance policies shall be in accordance with the scaled fee system.
  (2) The court shall refer persons only to batterer's programs that have been approved by the probation department pursuant to paragraph (5). The probation department shall do both of the following:
  (A) Provide for the issuance of a provisional approval, provided that the applicant is in substantial compliance with applicable laws and regulations and an urgent need for approval exists. A provisional approval shall be considered an authorization to provide services and shall not be considered a vested right.
  (B) If the probation department determines that a program is not in compliance with standards set by the department, the department shall provide written notice of the noncompliant areas to the program. The program shall submit a written plan of corrections within 14 days from the date of the written notice on noncompliance. A plan of correction shall include, but not be limited to, a description of each corrective action and timeframe for implementation. The department shall review and approve all or any part of the plan of correction and notify the program of approval or disapproval in writing. If the program fails to submit a plan of correction or fails to implement the approved plan of correction, the department shall consider whether to revoke or suspend approval and, upon revoking or suspending approval, shall have the option to cease referrals of defendants under this section.
  (3) No program, regardless of its source of funding, shall be approved unless it meets all of the following standards:
  (A) The establishment of guidelines and criteria for education services, including standards of services that may include lectures, classes, and group discussions.
  (B) Supervision of the defendant for the purpose of evaluating the person's progress in the program.
  (C) Adequate reporting requirements to ensure that all persons who, after being ordered to attend and complete a program, may be identified for either failure to enroll in, or failure to successfully complete, the program or for the successful completion of the program as ordered. The program shall notify the court and the probation department, in writing, within the period of time and in the manner specified by the court of any person who fails to complete the program. Notification shall be given if the program determines that the defendant is performing unsatisfactorily or if the defendant is not benefiting from the education, treatment, or counseling.
  (D) No victim shall be compelled to participate in a program or counseling, and no program may condition a defendant's enrollment on participation by the victim.
  (4) In making referrals of indigent defendants to approved batterer's programs, the probation department shall apportion these referrals evenly among the approved programs.
  (5) The probation department shall have the sole authority to approve a batterer's program for probation. The program shall be required to obtain only one approval but shall renew that approval annually.
  (A) The procedure for the approval of a new or existing program shall include all of the following:
  (i) The completion of a written application containing necessary and pertinent information describing the applicant program.
  (ii) The demonstration by the program that it possesses adequate administrative and operational capability to operate a batterer's treatment program. The program shall provide documentation to prove that the program has conducted batterer's programs for at least one year prior to application. This requirement may be waived under subparagraph (A) of paragraph (2) if there is no existing batterer's program in the city, county, or city and county.
  (iii) The onsite review of the program, including monitoring of a session to determine that the program adheres to applicable statutes and regulations.
  (iv) The payment of the approval fee.
  (B) The probation department shall fix a fee for approval not to exceed two hundred fifty dollars ($250) and for approval renewal not to exceed two hundred fifty dollars ($250) every year in an amount sufficient to cover its costs in administering the approval process under this section. No fee shall be charged for the approval of local governmental entities.
  (C) The probation department has the sole authority to approve the issuance, denial, suspension, or revocation of approval and to cease new enrollments or referrals to a batterer's program under this section. The probation department shall review information relative to a program's performance or failure to adhere to standards, or both. The probation department may suspend or revoke an approval issued under this subdivision or deny an application to renew an approval or to modify the terms and conditions of approval, based on grounds established by probation, including, but not limited to, either of the following:
  (i) Violation of this section by any person holding approval or by a program employee in a program under this section.
  (ii) Misrepresentation of any material fact in obtaining the approval.
  (6) For defendants who are chronic users or serious abusers of drugs or alcohol, standard components in the program shall include concurrent counseling for substance abuse and violent behavior, and in appropriate cases, detoxification and abstinence from the abused substance.
  (7) The program shall conduct an exit conference that assesses the defendant's progress during his or her participation in the batterer' s program.
  (d) An act or omission relating to the approval of a batterer's treatment programs under paragraph (5) of subdivision (c) is a discretionary act pursuant to Section 820.2 of the Government Code.
(a) Unless otherwise provided, a person who works as a facilitator in a batterers' intervention program that provides programs for batterers pursuant to subdivision (c) of Section 1203.097 shall complete the following requirements before being eligible to work as a facilitator in a batterers' intervention program:
  (1) Forty hours of basic core training. A minimum of eight hours of this instruction shall be provided by a shelter-based or shelter-approved trainer. The core curriculum shall include the following components:
  (A) A minimum of eight hours in basic domestic violence knowledge focusing on victim safety and the role of domestic violence shelters in a community-coordinated response.
  (B) A minimum of eight hours in multicultural, cross-cultural, and multiethnic diversity and domestic violence.
  (C) A minimum of four hours in substance abuse and domestic violence.
  (D) A minimum of four hours in intake and assessment, including the history of violence and the nature of threats and substance abuse.
  (E) A minimum of eight hours in group content areas focusing on gender roles and socialization, the nature of violence, the dynamics of power and control, and the effects of abuse on children and others as required by Section 1203.097.
  (F) A minimum of four hours in group facilitation.
  (G) A minimum of four hours in domestic violence and the law, ethics, all requirements specified by the probation department pursuant to Section 1203.097, and the role of batterers' intervention programs in a coordinated-community response.
  (H) Any person that provides documentation of coursework, or equivalent training, that he or she has satisfactorily completed, shall be exempt from that part of the training that was covered by the satisfactorily completed coursework.
  (I) The coursework that this person performs shall count toward the continuing education requirement.
  (2) Fifty-two weeks or no less than 104 hours in six months, as a trainee in an approved batterers' intervention program with a minimum of a two-hour group each week. A training program shall include at least one of the following:
  (A) Cofacilitation internship in which an experienced facilitator is present in the room during the group session.
  (B) Observation by a trainer of the trainee conducting a group session via a one-way mirror.
  (C) Observation by a trainer of the trainee conducting a group session via a video or audio recording.
  (D) Consultation or supervision twice a week in a six-month program or once a week in a 52-week program.
  (3) An experienced facilitator is one who has the following qualifications:
  (A) Documentation on file, approved by the agency, evidencing that the experienced facilitator has the skills needed to provide quality supervision and training.
  (B) Documented experience working with batterers for three years, and a minimum of two years working with batterers' groups.
  (C) Documentation by January 1, 2003, of coursework or equivalent training that demonstrates satisfactory completion of the 40-hour basic core training.
  (b) A facilitator of a batterers' intervention program shall complete, as a minimum continuing education requirement, 16 hours annually of continuing education in either domestic violence or a related field with a minimum of eight hours in domestic violence.
  (c) A person or agency with a specific hardship may request the probation department, in writing, for an extension of time to complete the training or to complete alternative training options.
  (d) (1) An experienced facilitator, as defined in paragraph (3) of subdivision (a), is not subject to the supervision requirements of this section, if he or she meets the requirements of subparagraph (C) of paragraph (3) of subdivision (a).
  (2) This section does not apply to a person who provides batterers' treatment through a jail education program if the person in charge of that program determines that the person providing treatment has adequate education or training in domestic violence or a related field.
  (e) A person who satisfactorily completes the training requirements of a county probation department whose training program is equivalent to or exceeds the training requirements of this act shall be exempt from the training requirements of this act.
(a) The court, or judge thereof, in the order granting probation, may suspend the imposing or the execution of the sentence and may direct that the suspension may continue for a period of time not exceeding the maximum possible term of the sentence, except as hereinafter set forth, and upon those terms and conditions as it shall determine. The court, or judge thereof, in the order granting probation and as a condition thereof, may imprison the defendant in a county jail for a period not exceeding the maximum time fixed by law in the case. However, where the maximum possible term of the sentence is five years or less, then the period of suspension of imposition or execution of sentence may, in the discretion of the court, continue for not over five years. The following shall apply to this subdivision:
  (1) The court may fine the defendant in a sum not to exceed the maximum fine provided by law in the case.
  (2) The court may, in connection with granting probation, impose either imprisonment in a county jail or a fine, both, or neither.
  (3) The court shall provide for restitution in proper cases. The restitution order shall be fully enforceable as a civil judgment forthwith and in accordance with Section 1202.4 of the Penal Code.
  (4) The court may require bonds for the faithful observance and performance of any or all of the conditions of probation.
  (b) The court shall consider whether the defendant as a condition of probation shall make restitution to the victim or the Restitution Fund. Any restitution payment received by a court or probation department in the form of cash or money order shall be forwarded to the victim within 30 days from the date the payment is received by the department. Any restitution payment received by a court or probation department in the form of a check or draft shall be forwarded to the victim within 45 days from the date the payment is received, provided, that payment need not be forwarded to a victim until 180 days from the date the first payment is received, if the restitution payments for that victim received by the court or probation department total less than fifty dollars ($50). In cases where the court has ordered the defendant to pay restitution to multiple victims and where the administrative cost of disbursing restitution payments to multiple victims involves a significant cost, any restitution payment received by a probation department shall be forwarded to multiple victims when it is cost effective to do so, but in no event shall restitution disbursements be delayed beyond 180 days from the date the payment is received by the probation department.
  (c) In counties or cities and counties where road camps, farms, or other public work is available the court may place the probationer in the road camp, farm, or other public work instead of in jail. In this case, Section 25359 of the Government Code shall apply to probation and the court shall have the same power to require adult probationers to work, as prisoners confined in the county jail are required to work, at public work. Each county board of supervisors may fix the scale of compensation of the adult probationers in that county.
  (d) In all cases of probation the court may require as a condition of probation that the probationer go to work and earn money for the support of his or her dependents or to pay any fine imposed or reparation condition, to keep an account of his or her earnings, to report them to the probation officer and apply those earnings as directed by the court.
  (e) The court shall also consider whether the defendant as a condition of probation shall make restitution to a public agency for the costs of an emergency response pursuant to Article 8 (commencing with Section 53150) of Chapter 1 of Part 1 of Division 2 of the Government Code.
  (f) In all felony cases in which, as a condition of probation, a judge of the superior court sitting by authority of law elsewhere than at the county seat requires a convicted person to serve his or her sentence at intermittent periods the sentence may be served on the order of the judge at the city jail nearest to the place at which the court is sitting, and the cost of his or her maintenance shall be a county charge.
  (g) (1) The court and prosecuting attorney shall consider whether any defendant who has been convicted of a nonviolent or nonserious offense and ordered to participate in community service as a condition of probation shall be required to engage in the removal of graffiti in the performance of the community service. For the purpose of this subdivision, a nonserious offense shall not include the following:
  (A) Offenses in violation of the Dangerous Weapons Control Law, as defined in Section 23500.
  (B) Offenses involving the use of a dangerous or deadly weapon, including all violations of Section 417.
  (C) Offenses involving the use or attempted use of violence against the person of another or involving injury to a victim.
  (D) Offenses involving annoying or molesting children.
  (2) Notwithstanding subparagraph (A) of paragraph (1), any person who violates Chapter 1 (commencing with Section 29610) of Division 9 of Title 4 of Part 6 shall be ordered to perform not less than 100 hours and not more than 500 hours of community service as a condition of probation.
  (3) The court and the prosecuting attorney need not consider a defendant pursuant to paragraph (1) if the following circumstances exist:
  (A) The defendant was convicted of any offense set forth in subdivision (c) of Section 667.5 or subdivision (c) of Section 1192.7.
  (B) The judge believes that the public safety may be endangered if the person is ordered to do community service or the judge believes that the facts or circumstances or facts and circumstances call for imposition of a more substantial penalty.
  (h) The probation officer or his or her designated representative shall consider whether any defendant who has been convicted of a nonviolent and nonserious offense and ordered to participate in community service as a condition of probation shall be required to engage in the performance of house repairs or yard services for senior citizens and the performance of repairs to senior centers through contact with local senior service organizations in the performance of the community service.
  (i) (1) Upon conviction of any offense involving child abuse or neglect, the court may require, in addition to any or all of the above-mentioned terms of imprisonment, fine, and other reasonable conditions, that the defendant shall participate in counseling or education programs, or both, including, but not limited to, parent education or parenting programs operated by community colleges, school districts, other public agencies, or private agencies.
  (2) Upon conviction of any sex offense subjecting the defendant to the registration requirements of Section 290, the court may order as a condition of probation, at the request of the victim or in the court's discretion, that the defendant stay away from the victim and the victim's residence or place of employment, and that the defendant have no contact with the victim in person, by telephone or electronic means, or by mail.
  (j) The court may impose and require any or all of the above-mentioned terms of imprisonment, fine, and conditions, and other reasonable conditions, as it may determine are fitting and proper to the end that justice may be done, that amends may be made to society for the breach of the law, for any injury done to any person resulting from that breach, and generally and specifically for the reformation and rehabilitation of the probationer, and that should the probationer violate any of the terms or conditions imposed by the court in the matter, it shall have authority to modify and change any and all the terms and conditions and to reimprison the probationer in the county jail within the limitations of the penalty of the public offense involved. Upon the defendant being released from the county jail under the terms of probation as originally granted or any modification subsequently made, and in all cases where confinement in a county jail has not been a condition of the grant of probation, the court shall place the defendant or probationer in and under the charge of the probation officer of the court, for the period or term fixed for probation. However, upon the payment of any fine imposed and the fulfillment of all conditions of probation, probation shall cease at the end of the term of probation, or sooner, in the event of modification. In counties and cities and counties in which there are facilities for taking fingerprints, those of each probationer shall be taken and a record of them kept and preserved.
  (k) Notwithstanding any other provisions of law to the contrary, except as provided in Section 13967, as operative on or before September 28, 1994, of the Government Code and Section 13967.5 of the Government Code and Sections 1202.4, 1463.16, paragraph (1) of subdivision (a) of Section 1463.18, and Section 1464, and Section 1203.04, as operative on or before August 2, 1995, all fines collected by a county probation officer in any of the courts of this state, as a condition of the granting of probation or as a part of the terms of probation, shall be paid into the county treasury and placed in the general fund for the use and benefit of the county.
  (l) If the court orders restitution to be made to the victim, the entity collecting the restitution may add a fee to cover the actual administrative cost of collection, but not to exceed 15 percent of the total amount ordered to be paid. The amount of the fee shall be set by the board of supervisors if it is collected by the county and the fee collected shall be paid into the general fund of the county treasury for the use and benefit of the county. The amount of the fee shall be set by the court if it is collected by the court and the fee collected shall be paid into the Trial Court Operations Fund or account established by Section 77009 of the Government Code for the use and benefit of the court.
1203.1a. The probation officer of the county may authorize the temporary removal under custody or temporary release without custody of any inmate of the county jail, honor farm, or other detention facility, who is confined or committed as a condition of probation, after suspension of imposition of sentence or suspension of execution of sentence, for purposes preparatory to his return to the community, within 30 days prior to his release date, if he concludes that such an inmate is a fit subject therefor. Any such temporary removal shall not be for a period of more than three days. When an inmate is released for purposes preparatory to his return to the community, the probation officer may require the inmate to reimburse the county, in whole or in part, for expenses incurred by the county in connection therewith.
1203.1ab. Upon conviction of any offense involving the unlawful possession, use, sale, or other furnishing of any controlled substance, as defined in Chapter 2 (commencing with Section 11053) of Division 10 of the Health and Safety Code, in addition to any or all of the terms of imprisonment, fine, and other reasonable conditions specified in or permitted by Section 1203.1, unless it makes a finding that this condition would not serve the interests of justice, the court, when recommended by the probation officer, shall require as a condition of probation that the defendant shall not use or be under the influence of any controlled substance and shall submit to drug and substance abuse testing as directed by the probation officer. If the defendant is required to submit to testing and has the financial ability to pay all or part of the costs associated with that testing, the court shall order the defendant to pay a reasonable fee, which shall not exceed the actual cost of the testing.
1203.1b. (a) In any case in which a defendant is convicted of an offense and is the subject of any preplea or presentence investigation and report, whether or not probation supervision is ordered by the court, and in any case in which a defendant is granted probation, given a conditional sentence, or receives a term of mandatory supervision pursuant to subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170, the probation officer, or his or her authorized representative, taking into account any amount that the defendant is ordered to pay in fines, assessments, and restitution, shall make a determination of the ability of the defendant to pay all or a portion of the reasonable cost of any probation supervision, conditional sentence, or term of mandatory supervision, of conducting any preplea investigation and preparing any preplea report pursuant to Section 1203.7, of conducting any presentence investigation and preparing any presentence report made pursuant to Section 1203, and of processing a jurisdictional transfer pursuant to Section 1203.9 or of processing a request for interstate compact supervision pursuant to Sections 11175 to 11179, inclusive, whichever applies. The reasonable cost of these services and of probation supervision, a conditional sentence, or mandatory supervision shall not exceed the amount determined to be the actual average cost thereof. A payment schedule for the reimbursement of the costs of preplea or presentence investigations based on income shall be developed by the probation department of each county and approved by the presiding judge of the superior court. The court shall order the defendant to appear before the probation officer, or his or her authorized representative, to make an inquiry into the ability of the defendant to pay all or a portion of these costs. The probation officer, or his or her authorized representative, shall determine the amount of payment and the manner in which the payments shall be made to the county, based upon the defendant's ability to pay. The probation officer shall inform the defendant that the defendant is entitled to a hearing, that includes the right to counsel, in which the court shall make a determination of the defendant's ability to pay and the payment amount. The defendant must waive the right to a determination by the court of his or her ability to pay and the payment amount by a knowing and intelligent waiver.
  (b) When the defendant fails to waive the right provided in subdivision (a) to a determination by the court of his or her ability to pay and the payment amount, the probation officer shall refer the matter to the court for the scheduling of a hearing to determine the amount of payment and the manner in which the payments shall be made. The court shall order the defendant to pay the reasonable costs if it determines that the defendant has the ability to pay those costs based on the report of the probation officer, or his or her authorized representative. The following shall apply to a hearing conducted pursuant to this subdivision:
  (1) At the hearing, the defendant shall be entitled to have, but shall not be limited to, the opportunity to be heard in person, to present witnesses and other documentary evidence, and to confront and cross-examine adverse witnesses, and to disclosure of the evidence against the defendant, and a written statement of the findings of the court or the probation officer, or his or her authorized representative.
  (2) At the hearing, if the court determines that the defendant has the ability to pay all or part of the costs, the court shall set the amount to be reimbursed and order the defendant to pay that sum to the county in the manner in which the court believes reasonable and compatible with the defendant's financial ability.
  (3) At the hearing, in making a determination of whether a defendant has the ability to pay, the court shall take into account the amount of any fine imposed upon the defendant and any amount the defendant has been ordered to pay in restitution.
  (4) When the court determines that the defendant's ability to pay is different from the determination of the probation officer, the court shall state on the record the reason for its order.
  (c) The court may hold additional hearings during the probationary, conditional sentence, or mandatory supervision period to review the defendant's financial ability to pay the amount, and in the manner, as set by the probation officer, or his or her authorized representative, or as set by the court pursuant to this section.
  (d) If practicable, the court shall order or the probation officer shall set payments pursuant to subdivisions (a) and (b) to be made on a monthly basis. Execution may be issued on the order issued pursuant to this section in the same manner as a judgment in a civil action. The order to pay all or part of the costs shall not be enforced by contempt.
  (e) The term "ability to pay" means the overall capability of the defendant to reimburse the costs, or a portion of the costs, of conducting the presentence investigation, preparing the preplea or presentence report, processing a jurisdictional transfer pursuant to Section 1203.9, processing requests for interstate compact supervision pursuant to Sections 11175 to 11179, inclusive, and probation supervision, conditional sentence, or mandatory supervision, and shall include, but shall not be limited to, the defendant's:
  (1) Present financial position.
  (2) Reasonably discernible future financial position. In no event shall the court consider a period of more than one year from the date of the hearing for purposes of determining reasonably discernible future financial position.
  (3) Likelihood that the defendant shall be able to obtain employment within the one-year period from the date of the hearing.
  (4) Any other factor or factors that may bear upon the defendant's financial capability to reimburse the county for the costs.
  (f) At any time during the pendency of the judgment rendered according to the terms of this section, a defendant against whom a judgment has been rendered may petition the probation officer for a review of the defendant's financial ability to pay or the rendering court to modify or vacate its previous judgment on the grounds of a change of circumstances with regard to the defendant's ability to pay the judgment. The probation officer and the court shall advise the defendant of this right at the time of rendering of the terms of probation or the judgment.
  (g) All sums paid by a defendant pursuant to this section shall be allocated for the operating expenses of the county probation department.
  (h) The board of supervisors in any county, by resolution, may establish a fee for the processing of payments made in installments to the probation department pursuant to this section, not to exceed the administrative and clerical costs of the collection of those installment payments as determined by the board of supervisors, except that the fee shall not exceed seventy-five dollars ($75).
  (i) This section shall be operative in a county upon the adoption of an ordinance to that effect by the board of supervisors.
1203.1bb. (a) The reasonable cost of probation determined under subdivision (a) of Section 1203.1b shall include the cost of purchasing and installing an ignition interlock device pursuant to Section 13386 of the Vehicle Code. Any defendant subject to this section shall pay the manufacturer of the ignition interlock device directly for the cost of its purchase and installation, in accordance with the payment schedule ordered by the court. If practicable, the court shall order payment to be made to the manufacturer of the ignition interlock device within a six-month period.
  (b) This section does not require any county to pay the costs of purchasing and installing any ignition interlock devices ordered pursuant to Section 13386 of the Vehicle Code. The Office of Traffic Safety shall consult with the presiding judge or his or her designee in each county to determine an appropriate means, if any, to provide for installation of ignition interlock devices in cases in which the defendant has no ability to pay.
1203.1c. (a) In any case in which a defendant is convicted of an offense and is ordered to serve a period of confinement in a county jail, city jail, or other local detention facility as a term of probation or a conditional sentence, the court may, after a hearing, make a determination of the ability of the defendant to pay all or a portion of the reasonable costs of such incarceration, including incarceration pending disposition of the case. The reasonable cost of such incarceration shall not exceed the amount determined by the board of supervisors, with respect to the county jail, and by the city council, with respect to the city jail, to be the actual average cost thereof on a per-day basis. The court may, in its discretion, hold additional hearings during the probationary period. The court may, in its discretion before such hearing, order the defendant to file a statement setting forth his or her assets, liability and income, under penalty of perjury, and may order the defendant to appear before a county officer designated by the board of supervisors to make an inquiry into the ability of the defendant to pay all or a portion of such costs. At the hearing, the defendant shall be entitled to have the opportunity to be heard in person or to be represented by counsel, to present witnesses and other evidence, and to confront and cross-examine adverse witnesses. A defendant represented by counsel appointed by the court in the criminal proceedings shall be entitled to such representation at any hearing held pursuant to this section. If the court determines that the defendant has the ability to pay all or a part of the costs, the court may set the amount to be reimbursed and order the defendant to pay that sum to the county, or to the city with respect to incarceration in the city jail, in the manner in which the court believes reasonable and compatible with the defendant's financial ability. Execution may be issued on the order in the same manner as on a judgment in a civil action. The order to pay all or part of the costs shall not be enforced by contempt. If practicable, the court shall order payments to be made on a monthly basis and the payments shall be made payable to the county officer designated by the board of supervisors, or to a city officer designated by the city council with respect to incarceration in the city jail. A payment schedule for reimbursement of the costs of incarceration pursuant to this section based upon income shall be developed by the county officer designated by the board of supervisors, or by the city council with respect to incarceration in the city jail, and approved by the presiding judge of the superior court in the county.
  (b) "Ability to pay" means the overall capability of the defendant to reimburse the costs, or a portion of the costs, of incarceration and includes, but is not limited to, the defendant's:
  (1) Present financial obligations, including family support obligations, and fines, penalties and other obligations to the court.
  (2) Reasonably discernible future financial position. In no event shall the court consider a period of more than one year from the date of the hearing for purposes of determining reasonable discernible future position.
  (3) Likelihood that the defendant shall be able to obtain employment within the one-year period from the date of the hearing.
  (4) Any other factor or factors which may bear upon the defendant' s financial ability to reimburse the county or city for the costs.
  (c) All sums paid by a defendant pursuant to this section shall be deposited in the general fund of the county or city.
  (d) This section shall be operative in a county upon the adoption of an ordinance to that effect by the board of supervisors, and shall be operative in a city upon the adoption of an ordinance to that effect by the city council. Such ordinance shall include a designation of the officer responsible for collection of moneys ordered pursuant to this section and shall include a determination, to be reviewed annually, of the average per-day costs of incarceration in the county jail, city jail, or other local detention facility.
1203.1d. (a) In determining the amount and manner of disbursement under an order made pursuant to this code requiring a defendant to make reparation or restitution to a victim of a crime, to pay any money as reimbursement for legal assistance provided by the court, to pay any cost of probation or probation investigation, to pay any cost of jail or other confinement, or to pay any other reimbursable costs, the court, after determining the amount of any fine and penalty assessments, and a county financial evaluation officer when making a financial evaluation, shall first determine the amount of restitution to be ordered paid to any victim, and shall then determine the amount of the other reimbursable costs. If payment is made in full, the payment shall be apportioned and disbursed in the amounts ordered by the court. If reasonable and compatible with the defendant's financial ability, the court may order payments to be made in installments.
  (b) With respect to installment payments and amounts collected by the Franchise Tax Board pursuant to Section 19280 of the Revenue and Taxation Code and subsequently transferred by the Controller pursuant to Section 19282 of the Revenue and Taxation Code, the board of supervisors shall provide that disbursements be made in the following order of priority:
  (1) Restitution ordered to, or on behalf of, the victim pursuant to subdivision (f) of Section 1202.4.
  (2) The state surcharge ordered pursuant to Section 1465.7.
  (3) Any fines, penalty assessments, and restitution fines ordered pursuant to subdivision (b) of Section 1202.4. Payment of each of these items shall be made on a proportional basis to the total amount levied for all of these items.
  (4) Any other reimbursable costs.
  (c) The board of supervisors shall apply these priorities of disbursement to orders or parts of orders in cases where defendants have been ordered to pay more than one court order.
  (d) Documentary evidence, such as bills, receipts, repair estimates, insurance payment statements, payroll stubs, business records, and similar documents relevant to the value of the stolen or damaged property, medical expenses, and wages and profits lost shall not be excluded as hearsay evidence.
  (e) This section shall become operative on January 1, 2012.
1203.1e. (a) In any case in which a defendant is ordered to serve a period of confinement in a county jail or other local detention facility, and the defendant is eligible to be released on parole by the county board of parole commissioners, the court shall, after a hearing, make a determination of the ability of the person to pay all or a portion of the reasonable cost of providing parole supervision. The reasonable cost of those services shall not exceed the amount determined to be the actual average cost of providing parole supervision.
  (b) If the court determines that the person has the ability to pay all or part of the costs, the court may set the amount to be reimbursed and order the person to pay that sum to the county in the manner in which the court believes reasonable and compatible with the person's financial ability. In making a determination of whether a person has the ability to pay, the court shall take into account the amount of any fine imposed upon the person and any amount the person has been ordered to pay in restitution. If practicable, the court shall order payments to be made on a monthly basis as directed by the court. Execution may be issued on the order in the same manner as a judgment in a civil action. The order to pay all or part of the costs shall not be enforced by contempt.
  (c) For the purposes of this section, "ability to pay" means the overall capability of the person to reimburse the costs, or a portion of the costs, of providing parole supervision and shall include, but shall not be limited to, consideration of all of the following factors:
  (1) Present financial position.
  (2) Reasonably discernible future financial position. In no event shall the board consider a period of more than six months from the date of the hearing for purposes of determining reasonably discernible future financial position.
  (3) Likelihood that the person shall be able to obtain employment within the six-month period from the date of the hearing.
  (4) Any other factor or factors which may bear upon the person's financial capability to reimburse the county for the costs.
  (d) At any time during the pendency of the order made under this section, a person against whom an order has been made may petition the court to modify or vacate its previous order on the grounds of a change of circumstances with regard to the person's ability to pay. The court shall advise the person of this right at the time of making the order.
  (e) All sums paid by any person pursuant to this section shall be deposited in the general fund of the county.
  (f) The parole of any person shall not be denied or revoked in whole or in part based upon the inability or failure to pay under this section.
  (g) The county board of parole commissioners shall not have access to offender financial data prior to the rendering of any parole decision.
  (h) This section shall become operative on January 1, 1995.
1203.1f. If practicable, the court shall consolidate the ability to pay determination hearings authorized by this code into one proceeding, and the determination of ability to pay made at the consolidated hearing may be used for all purposes.
1203.1g. In any case in which a defendant is convicted of sexual assault on a minor, and the defendant is eligible for probation, the court, as a condition of probation, shall order him or her to make restitution for the costs of medical or psychological treatment incurred by the victim as a result of the assault and that he or she seek and maintain employment and apply that portion of his or her earnings specified by the court toward those costs. As used in this section, "sexual assault" has the meaning specified in subdivisions (a) and (b) of Section 11165.1. The defendant is entitled to a hearing concerning any modification of the amount of restitution based on the costs of medical and psychological treatment incurred by the victim subsequent to the issuance of the order of probation.
1203.1h. (a) In addition to any other costs which a court is authorized to require a defendant to pay, upon conviction of any offense involving child abuse or neglect, the court may require that the defendant pay to a law enforcement agency incurring the cost, the cost of any medical examinations conducted on the victim in order to determine the nature or extent of the abuse or neglect. If the court determines that the defendant has the ability to pay all or part of the medical examination costs, the court may set the amount to be reimbursed and order the defendant to pay that sum to the law enforcement agency in the manner in which the court believes reasonable and compatible with the defendant's financial ability. In making a determination of whether a defendant has the ability to pay, the court shall take into account the amount of any fine imposed upon the defendant and any amount the defendant has been ordered to pay in restitution.
  (b) In addition to any other costs which a court is authorized to require a defendant to pay, upon conviction of any offense involving sexual assault or attempted sexual assault, including child molestation, the court may require that the defendant pay, to the law enforcement agency, county, or local governmental agency incurring the cost, the cost of any medical examinations conducted on the victim for the collection and preservation of evidence. If the court determines that the defendant has the ability to pay all or part of the cost of the medical examination, the court may set the amount to be reimbursed and order the defendant to pay that sum to the law enforcement agency, county, or local governmental agency, in the manner in which the court believes reasonable and compatible with the defendant's financial ability. In making the determination of whether a defendant has the ability to pay, the court shall take into account the amount of any fine imposed upon the defendant and any amount the defendant has been ordered to pay in restitution. In no event shall a court penalize an indigent defendant by imposing an additional period of imprisonment in lieu of payment.
1203.1i. (a) In any case in which a defendant is convicted of a violation of any building standards adopted by a local entity by ordinance or resolution, including, but not limited to, local health, fire, building, or safety ordinances or resolutions, or any other ordinance or resolution relating to the health and safety of occupants of buildings, by maintaining a substandard building, as specified in Section 17920.3 of the Health and Safety Code, the court, or judge thereof, in making an order granting probation, in addition to any other orders, may order the defendant placed under house confinement, or may order the defendant to serve both a term of imprisonment in the county jail and to be placed under house confinement. This section only applies to violations involving a dwelling unit occupied by persons specified in subdivision (a) of Section 1940 of the Civil Code who are not excluded by subdivision (b) of that section.
  (b) If the court orders a defendant to serve all or part of his or her sentence under house confinement, pursuant to subdivision (a), he or she may also be ordered to pay the cost of having a police officer or guard stand guard outside the area in which the defendant has been confined under house confinement if it has been determined that the defendant is able to pay these costs.
  (c) As used in this section, "house confinement" means confinement to a residence or location designated by the court and specified in the probation order.
1203.1j. In any case in which the defendant is convicted of assault, battery, or assault with a deadly weapon on a victim 65 years of age or older, and the defendant knew or reasonably should have known the elderly status of the victim, the court, as a condition of probation, shall order the defendant to make restitution for the costs of medical or psychological treatment incurred by the victim as a result of the crime, and that the defendant seek and maintain legitimate employment and apply that portion of his or her earnings specified by the court toward those costs. The defendant shall be entitled to a hearing, concerning any modification of the amount of restitution, based on the costs of medical and psychological treatment incurred by the victim subsequent to the issuance of the order of probation.
1203.1k. For any order of restitution made under Section 1203.1, the court may order the specific amount of restitution and the manner in which restitution shall be made to a victim or the Restitution Fund, to the extent that the victim has received payment from the Victims of Crime Program, based on the probation officer's report or it may, with the consent of the defendant, order the probation officer to set the amount of restitution and the manner in which restitution shall be made to a victim or the Restitution Fund, to the extent that the victim has received payment from the Victims of Crime Program. The defendant shall have the right to a hearing before the judge to dispute the determinations made by the probation officer in regard to the amount or manner in which restitution is to be made to the victim or the Restitution Fund, to the extent that the victim has received payment from the Victims of Crime Program. If the court orders restitution to be made to the Restitution Fund, the court, and not the probation officer, shall determine the amount and the manner in which restitution is to be made to the Restitution Fund.
1203.1l. In any case in which, pursuant to Section 1203.1, the court orders the defendant, as a condition of probation, to make restitution to a public agency for the costs of an emergency response, all of the following shall apply:
  (a) The probation department shall obtain the actual costs for an emergency response from a public agency, and shall include the public agency's documents supporting the actual costs for the emergency response in the probation department's sentencing report to the court.
  (b) At the sentencing hearing, the defendant has the right to confront witnesses and present evidence in opposition to the amount claimed to be due to the public agency for its actual costs for the emergency response.
  (c) The collection of the emergency response costs is the responsibility of the public agency seeking the reimbursement. If a defendant fails to make restitution payment when a payment is due, the public agency shall by verified declaration notify the probation department of the delinquency. The probation department shall make an investigation of the delinquency and shall make a report to the court of the delinquency. The report shall contain any recommendation that the probation officer finds to be relevant regarding the delinquency and future payments. The court, after a hearing on the delinquency, may make modifications to the existing order in the furtherance of justice.
  (d) The defendant has the right to petition the court for a modification of the emergency response reimbursement order whenever he or she has sustained a substantial change in economic circumstances. The defendant has a right to a hearing on the proposed modification, and the court may make any modification to the existing order in the furtherance of justice.
1203.1m. (a) If a defendant is convicted of an offense and ordered to serve a period of imprisonment in the state prison, the court may, after a hearing, make a determination of the ability of the defendant to pay all or a portion of the reasonable costs of the imprisonment. The reasonable costs of imprisonment shall not exceed the amount determined by the Director of Corrections to be the actual average cost of imprisonment in the state prison on a per-day basis.
  (b) The court may, in its discretion before any hearing, order the defendant to file a statement setting forth his or her assets, liability, and income, under penalty of perjury. At the hearing, the defendant shall have the opportunity to be heard in person or through counsel, to present witnesses and other evidence, and to confront and cross-examine adverse witnesses. A defendant who is represented by counsel appointed by the court in the criminal proceedings shall be entitled to representation at any hearing held pursuant to this section. If the court determines that the defendant has the ability to pay all or a part of the costs, the court shall set the amount to be reimbursed and order the defendant to pay that sum to the Department of Corrections for deposit in the General Fund in the manner in which the court believes reasonable and compatible with the defendant's financial ability. Execution may be issued on the order in the same manner as on a judgment in a civil action. The order to pay all or part of the costs shall not be enforced by contempt.
  (c) At any time during the pendency of an order made under this section, a person against whom the order has been made may petition the court to modify or vacate its previous order on the grounds of a change of circumstances with regard to the person's ability to pay. The court shall advise the person of this right at the time of making the order.
  (d) If the amount paid by the defendant for imprisonment exceeds the actual average cost of the term of imprisonment actually served by the defendant, the amount paid by the defendant in excess of the actual average cost shall be returned to the defendant within 60 days of his or her release from the state prison.
  (e) For the purposes of this section, in determining a defendant's ability to pay, the court shall consider the overall ability of the defendant to reimburse all or a portion of the costs of imprisonment in light of the defendant's present and foreseeable financial obligations, including family support obligations, restitution to the victim, and fines, penalties, and other obligations to the court, all of which shall take precedence over a reimbursement order made pursuant to this section.
  (f) For the purposes of this section, in determining a defendant's ability to pay, the court shall not consider the following:
  (1) The personal residence of the defendant, if any, up to a maximum amount of the median home sales price in the county in which the residence is located.
  (2) The personal motor vehicle of the defendant, if any, up to a maximum amount of ten thousand dollars ($10,000).
  (3) Any other assets of the defendant up to a maximum amount of the median annual income in California.
(a) At any time during the period of supervision of a person (1) released on probation under the care of a probation officer pursuant to this chapter, (2) released on conditional sentence or summary probation not under the care of a probation officer, (3) placed on mandatory supervision pursuant to subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170, (4) subject to revocation of postrelease community supervision pursuant to Section 3455, or (5) subject to revocation of parole supervision pursuant to Section 3000.08, if any probation officer, parole officer, or peace officer has probable cause to believe that the supervised person is violating any term or condition of his or her supervision, the officer may, without warrant or other process and at any time until the final disposition of the case, rearrest the supervised person and bring him or her before the court or the court may, in its discretion, issue a warrant for his or her rearrest. Notwithstanding Section 3056, and unless the supervised person is otherwise serving a period of flash incarceration, whenever a supervised person who is subject to this section is arrested, with or without a warrant or the filing of a petition for revocation as described in subdivision (b), the court may order the release of a supervised person from custody under any terms and conditions the court deems appropriate. Upon rearrest, or upon the issuance of a warrant for rearrest, the court may revoke and terminate the supervision of the person if the interests of justice so require and the court, in its judgment, has reason to believe from the report of the probation or parole officer or otherwise that the person has violated any of the conditions of his or her supervision, has become abandoned to improper associates or a vicious life, or has subsequently committed other offenses, regardless of whether he or she has been prosecuted for those offenses. However, the court shall not terminate parole pursuant to this section. Supervision shall not be revoked for failure of a person to make restitution imposed as a condition of supervision unless the court determines that the defendant has willfully failed to pay and has the ability to pay. Restitution shall be consistent with a person's ability to pay. The revocation, summary or otherwise, shall serve to toll the running of the period of supervision.
  (b) (1) Upon its own motion or upon the petition of the supervised person, the probation or parole officer, or the district attorney, the court may modify, revoke, or terminate supervision of the person pursuant to this subdivision, except that the court shall not terminate parole pursuant to this section. The court in the county in which the person is supervised has jurisdiction to hear the motion or petition, or for those on parole, either the court in the county of supervision or the court in the county in which the alleged violation of supervision occurred. A person supervised on parole or postrelease community supervision pursuant to Section 3455 may not petition the court pursuant to this section for early release from supervision, and a petition under this section shall not be filed solely for the purpose of modifying parole. This section does not prohibit the court in the county in which the person is supervised or in which the alleged violation of supervision occurred from modifying a person's parole when acting on the court's own motion or a petition to revoke parole. The court shall give notice of its motion, and the probation or parole officer or the district attorney shall give notice of his or her petition to the supervised person, his or her attorney of record, and the district attorney or the probation or parole officer, as the case may be. The supervised person shall give notice of his or her petition to the probation or parole officer and notice of any motion or petition shall be given to the district attorney in all cases. The court shall refer its motion or the petition to the probation or parole officer. After the receipt of a written report from the probation or parole officer, the court shall read and consider the report and either its motion or the petition and may modify, revoke, or terminate the supervision of the supervised person upon the grounds set forth in subdivision (a) if the interests of justice so require.
  (2) The notice required by this subdivision may be given to the supervised person upon his or her first court appearance in the proceeding. Upon the agreement by the supervised person in writing to the specific terms of a modification or termination of a specific term of supervision, any requirement that the supervised person make a personal appearance in court for the purpose of a modification or termination shall be waived. Prior to the modification or termination and waiver of appearance, the supervised person shall be informed of his or her right to consult with counsel, and if indigent the right to secure court appointed counsel. If the supervised person waives his or her right to counsel a written waiver shall be required. If the supervised person consults with counsel and thereafter agrees to a modification, revocation, or termination of the term of supervision and waiver of personal appearance, the agreement shall be signed by counsel showing approval for the modification or termination and waiver.
  (c) Upon any revocation and termination of probation the court may, if the sentence has been suspended, pronounce judgment for any time within the longest period for which the person might have been sentenced. However, if the judgment has been pronounced and the execution thereof has been suspended, the court may revoke the suspension and order that the judgment shall be in full force and effect. In either case, the person shall be delivered over to the proper officer to serve his or her sentence, less any credits herein provided for.
  (d) In any case of revocation and termination of probation, including, but not limited to, cases in which the judgment has been pronounced and the execution thereof has been suspended, upon the revocation and termination, the court may, in lieu of any other sentence, commit the person to the Department of Corrections and Rehabilitation, Division of Juvenile Facilities if he or she is otherwise eligible for that commitment.
  (e) If probation has been revoked before the judgment has been pronounced, the order revoking probation may be set aside for good cause upon motion made before pronouncement of judgment. If probation has been revoked after the judgment has been pronounced, the judgment and the order which revoked the probation may be set aside for good cause within 30 days after the court has notice that the execution of the sentence has commenced. If an order setting aside the judgment, the revocation of probation, or both is made after the expiration of the probationary period, the court may again place the person on probation for that period and with those terms and conditions as it could have done immediately following conviction.
  (f) As used in this section, the following definitions shall apply:
  (1) "Court" means a judge, magistrate, or revocation hearing officer described in Section 71622.5 of the Government Code.
  (2) "Probation officer" means a probation officer as described in Section 1203 or an officer of the agency designated by the board of supervisors of a county to implement postrelease community supervision pursuant to Section 3451.
  (3) "Supervised person" means a person who satisfies any of the following:
  (A) He or she is released on probation subject to the supervision of a probation officer.
  (B) He or she is released on conditional sentence or summary probation not under the care of a probation officer.
  (C) He or she is subject to mandatory supervision pursuant to subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170.
  (D) He or she is subject to revocation of postrelease community supervision pursuant to Section 3455.
  (E) He or she is subject to revocation of parole pursuant to Section 3000.08.
  (g) This section does not affect the authority of the supervising agency to impose intermediate sanctions, including flash incarceration, to persons supervised on parole pursuant to Section 3000.8 or postrelease community supervision pursuant to Part 3 (commencing with Section 3450) of Title 2.05.
1203.2a. If any defendant who has been released on probation is committed to a prison in this state or another state for another offense, the court which released him or her on probation shall have jurisdiction to impose sentence, if no sentence has previously been imposed for the offense for which he or she was granted probation, in the absence of the defendant, on the request of the defendant made through his or her counsel, or by himself or herself in writing, if such writing is signed in the presence of the warden of the prison in which he or she is confined or the duly authorized representative of the warden, and the warden or his or her representative attests both that the defendant has made and signed such request and that he or she states that he or she wishes the court to impose sentence in the case in which he or she was released on probation, in his or her absence and without him or her being represented by counsel. The probation officer may, upon learning of the defendant's imprisonment, and must within 30 days after being notified in writing by the defendant or his or her counsel, or the warden or duly authorized representative of the prison in which the defendant is confined, report such commitment to the court which released him or her on probation. Upon being informed by the probation officer of the defendant's confinement, or upon receipt from the warden or duly authorized representative of any prison in this state or another state of a certificate showing that the defendant is confined in prison, the court shall issue its commitment if sentence has previously been imposed. If sentence has not been previously imposed and if the defendant has requested the court through counsel or in writing in the manner herein provided to impose sentence in the case in which he or she was released on probation in his or her absence and without the presence of counsel to represent him or her, the court shall impose sentence and issue its commitment, or shall make other final order terminating its jurisdiction over the defendant in the case in which the order of probation was made. If the case is one in which sentence has previously been imposed, the court shall be deprived of jurisdiction over defendant if it does not issue its commitment or make other final order terminating its jurisdiction over defendant in the case within 60 days after being notified of the confinement. If the case is one in which sentence has not previously been imposed, the court is deprived of jurisdiction over defendant if it does not impose sentence and issue its commitment or make other final order terminating its jurisdiction over defendant in the case within 30 days after defendant has, in the manner prescribed by this section, requested imposition of sentence. Upon imposition of sentence hereunder the commitment shall be dated as of the date upon which probation was granted. If the defendant is then in a state prison for an offense committed subsequent to the one upon which he or she has been on probation, the term of imprisonment of such defendant under a commitment issued hereunder shall commence upon the date upon which defendant was delivered to prison under commitment for his or her subsequent offense. Any terms ordered to be served consecutively shall be served as otherwise provided by law. In the event the probation officer fails to report such commitment to the court or the court fails to impose sentence as herein provided, the court shall be deprived thereafter of all jurisdiction it may have retained in the granting of probation in said case.
(a) The court shall have authority at any time during the term of probation to revoke, modify, or change its order of suspension of imposition or execution of sentence. The court may at any time when the ends of justice will be subserved thereby, and when the good conduct and reform of the person so held on probation shall warrant it, terminate the period of probation, and discharge the person so held. The court shall also have the authority at any time during the term of mandatory supervision pursuant to subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170 to revoke, modify, or change the conditions of the court's order suspending the execution of the concluding portion of the supervised person's term.
  (b) The exercise of the court's authority in subdivision (a) to revoke, modify, or change probation or mandatory supervision, or to terminate probation, is subject to the following:
  (1) Before any sentence or term or condition of probation or condition of mandatory supervision is modified, a hearing shall be held in open court before the judge. The prosecuting attorney shall be given a two-day written notice and an opportunity to be heard on the matter, except that, as to modifying or terminating a protective order in a case involving domestic violence, as defined in Section 6211 of the Family Code, the prosecuting attorney shall be given a five-day written notice and an opportunity to be heard.
  (A) If the sentence or term or condition of probation or the term or any condition of mandatory supervision is modified pursuant to this section, the judge shall state the reasons for that modification on the record.
  (B) As used in this section, modification of sentence shall include reducing a felony to a misdemeanor.
  (2) No order shall be made without written notice first given by the court or the clerk thereof to the proper probation officer of the intention to revoke, modify, or change its order.
  (3) In all probation cases, if the court has not seen fit to revoke the order of probation and impose sentence or pronounce judgment, the defendant shall at the end of the term of probation or any extension thereof, be by the court discharged subject to the provisions of these sections.
  (4) The court may modify the time and manner of the term of probation for purposes of measuring the timely payment of restitution obligations or the good conduct and reform of the defendant while on probation. The court shall not modify the dollar amount of the restitution obligations due to the good conduct and reform of the defendant, absent compelling and extraordinary reasons, nor shall the court limit the ability of payees to enforce the obligations in the manner of judgments in civil actions.
  (5) Nothing in this section shall be construed to prohibit the court from modifying the dollar amount of a restitution order pursuant to subdivision (f) of Section 1202.4 at any time during the term of the probation.
  (6) The court may limit or terminate a protective order that is a condition of probation or mandatory supervision in a case involving domestic violence, as defined in Section 6211 of the Family Code. In determining whether to limit or terminate the protective order, the court shall consider if there has been any material change in circumstances since the crime for which the order was issued, and any issue that relates to whether there exists good cause for the change, including, but not limited to, consideration of all of the following:
  (A) Whether the probationer or supervised person has accepted responsibility for the abusive behavior perpetrated against the victim.
  (B) Whether the probationer or supervised person is currently attending and actively participating in counseling sessions.
  (C) Whether the probationer or supervised person has completed parenting counseling, or attended alcoholics or narcotics counseling.
  (D) Whether the probationer or supervised person has moved from the state, or is incarcerated.
  (E) Whether the probationer or supervised person is still cohabiting, or intends to cohabit, with any subject of the order.
  (F) Whether the defendant has performed well on probation or mandatory supervision, including consideration of any progress reports.
  (G) Whether the victim desires the change, and if so, the victim's reasons, whether the victim has consulted a victim advocate, and whether the victim has prepared a safety plan and has access to local resources.
  (H) Whether the change will impact any children involved, including consideration of any child protective services information.
  (I) Whether the ends of justice would be served by limiting or terminating the order.
  (c) If a probationer is ordered to serve time in jail, and the probationer escapes while serving that time, the probation is revoked as a matter of law on the day of the escape.
  (d) If probation is revoked pursuant to subdivision (c), upon taking the probationer into custody, the probationer shall be accorded a hearing or hearings consistent with the holding in the case of People v. Vickers (1972) 8 Cal.3d 451. The purpose of that hearing or hearings is not to revoke probation, as the revocation has occurred as a matter of law in accordance with subdivision (c), but rather to afford the defendant an opportunity to require the prosecution to establish that the alleged violation did in fact occur and to justify the revocation.
  (e) This section does not apply to cases covered by Section 1203.2.
(a) (1) In any case in which a defendant has fulfilled the conditions of probation for the entire period of probation, or has been discharged prior to the termination of the period of probation, or in any other case in which a court, in its discretion and the interests of justice, determines that a defendant should be granted the relief available under this section, the defendant shall, at any time after the termination of the period of probation, if he or she is not then serving a sentence for any offense, on probation for any offense, or charged with the commission of any offense, be permitted by the court to withdraw his or her plea of guilty or plea of nolo contendere and enter a plea of not guilty; or, if he or she has been convicted after a plea of not guilty, the court shall set aside the verdict of guilty; and, in either case, the court shall thereupon dismiss the accusations or information against the defendant and except as noted below, he or she shall thereafter be released from all penalties and disabilities resulting from the offense of which he or she has been convicted, except as provided in Section 13555 of the Vehicle Code. The probationer shall be informed, in his or her probation papers, of this right and privilege and his or her right, if any, to petition for a certificate of rehabilitation and pardon. The probationer may make the application and change of plea in person or by attorney, or by the probation officer authorized in writing. However, in any subsequent prosecution of the defendant for any other offense, the prior conviction may be pleaded and proved and shall have the same effect as if probation had not been granted or the accusation or information dismissed. The order shall state, and the probationer shall be informed, that the order does not relieve him or her of the obligation to disclose the conviction in response to any direct question contained in any questionnaire or application for public office, for licensure by any state or local agency, or for contracting with the California State Lottery Commission.
  (2) Dismissal of an accusation or information pursuant to this section does not permit a person to own, possess, or have in his or her custody or control any firearm or prevent his or her conviction under Chapter 2 (commencing with Section 29800) of Division 9 of Title 4 of Part 6.
  (3) Dismissal of an accusation or information underlying a conviction pursuant to this section does not permit a person prohibited from holding public office as a result of that conviction to hold public office.
  (4) This subdivision shall apply to all applications for relief under this section which are filed on or after November 23, 1970.
  (b) Subdivision (a) of this section does not apply to any misdemeanor that is within the provisions of Section 42002.1 of the Vehicle Code, to any violation of subdivision (c) of Section 286, Section 288, subdivision (c) of Section 288a, Section 288.5, subdivision (j) of Section 289, Section 311.1, 311.2, 311.3, or 311.11, or any felony conviction pursuant to subdivision (d) of Section 261.5, or to any infraction.
  (c) (1) Except as provided in paragraph (2), subdivision (a) does not apply to a person who receives a notice to appear or is otherwise charged with a violation of an offense described in subdivisions (a) to (e), inclusive, of Section 12810 of the Vehicle Code.
  (2) If a defendant who was convicted of a violation listed in paragraph (1) petitions the court, the court in its discretion and in the interests of justice, may order the relief provided pursuant to subdivision (a) to that defendant.
  (d) A person who petitions for a change of plea or setting aside of a verdict under this section may be required to reimburse the court for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the court not to exceed one hundred fifty dollars ($150), and to reimburse the county for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the county board of supervisors not to exceed one hundred fifty dollars ($150), and to reimburse any city for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the city council not to exceed one hundred fifty dollars ($150). Ability to make this reimbursement shall be determined by the court using the standards set forth in paragraph (2) of subdivision (g) of Section 987.8 and shall not be a prerequisite to a person's eligibility under this section. The court may order reimbursement in any case in which the petitioner appears to have the ability to pay, without undue hardship, all or any portion of the costs for services established pursuant to this subdivision.
  (e) (1) Relief shall not be granted under this section unless the prosecuting attorney has been given 15 days' notice of the petition for relief. The probation officer shall notify the prosecuting attorney when a petition is filed, pursuant to this section.
  (2) It shall be presumed that the prosecuting attorney has received notice if proof of service is filed with the court.
  (f) If, after receiving notice pursuant to subdivision (e), the prosecuting attorney fails to appear and object to a petition for dismissal, the prosecuting attorney may not move to set aside or otherwise appeal the grant of that petition.
  (g) Notwithstanding the above provisions or any other provision of law, the Governor shall have the right to pardon a person convicted of a violation of subdivision (c) of Section 286, Section 288, subdivision (c) of Section 288a, Section 288.5, or subdivision (j) of Section 289, if there are extraordinary circumstances.
1203.4a. (a) Every defendant convicted of a misdemeanor and not granted probation, and every defendant convicted of an infraction shall, at any time after the lapse of one year from the date of pronouncement of judgment, if he or she has fully complied with and performed the sentence of the court, is not then serving a sentence for any offense and is not under charge of commission of any crime, and has, since the pronouncement of judgment, lived an honest and upright life and has conformed to and obeyed the laws of the land, be permitted by the court to withdraw his or her plea of guilty or nolo contendere and enter a plea of not guilty; or if he or she has been convicted after a plea of not guilty, the court shall set aside the verdict of guilty; and in either case the court shall thereupon dismiss the accusatory pleading against the defendant, who shall thereafter be released from all penalties and disabilities resulting from the offense of which he or she has been convicted, except as provided in Chapter 3 (commencing with Section 29900) of Division 9 of Title 4 of Part 6 of this code or Section 13555 of the Vehicle Code.
  (b) If a defendant does not satisfy all the requirements of subdivision (a), after a lapse of one year from the date of pronouncement of judgment, a court, in its discretion and in the interests of justice, may grant the relief available pursuant to subdivision (a) to a defendant convicted of an infraction, or of a misdemeanor and not granted probation, or both, if he or she has fully complied with and performed the sentence of the court, is not then serving a sentence for any offense, and is not under charge of commission of any crime.
  (c) (1) The defendant shall be informed of the provisions of this section, either orally or in writing, at the time he or she is sentenced. The defendant may make an application and change of plea in person or by attorney, or by the probation officer authorized in writing, provided that, in any subsequent prosecution of the defendant for any other offense, the prior conviction may be pleaded and proved and shall have the same effect as if relief had not been granted pursuant to this section.
  (2) Dismissal of an accusatory pleading pursuant to this section does not permit a person to own, possess, or have in his or her custody or control any firearm or prevent his or her conviction under Chapter 2 (commencing with Section 29800) of Division 9 of Title 4 of Part 6.
  (3) Dismissal of an accusatory pleading underlying a conviction pursuant to this section does not permit a person prohibited from holding public office as a result of that conviction to hold public office.
  (d) This section applies to any conviction specified in subdivision (a) or (b) that occurred before, as well as those occurring after, the effective date of this section, except that this section does not apply to the following:
  (1) A misdemeanor violation of subdivision (c) of Section 288.
  (2) Any misdemeanor falling within the provisions of Section 42002.1 of the Vehicle Code.
  (3) Any infraction falling within the provisions of Section 42001 of the Vehicle Code.
  (e) A person who petitions for a dismissal of a charge under this section may be required to reimburse the county and the court for the cost of services rendered at a rate to be determined by the county board of supervisors for the county and by the court for the court, not to exceed sixty dollars ($60), and to reimburse any city for the cost of services rendered at a rate to be determined by the city council not to exceed sixty dollars ($60). Ability to make this reimbursement shall be determined by the court using the standards set forth in paragraph (2) of subdivision (g) of Section 987.8 and shall not be a prerequisite to a person's eligibility under this section. The court may order reimbursement in any case in which the petitioner appears to have the ability to pay, without undue hardship, all or any portion of the cost for services established pursuant to this subdivision.
  (f) A petition for dismissal of an infraction pursuant to this section shall be by written declaration, except upon a showing of compelling need. Dismissal of an infraction shall not be granted under this section unless the prosecuting attorney has been given at least 15 days' notice of the petition for dismissal. It shall be presumed that the prosecuting attorney has received notice if proof of service is filed with the court.
  (g) Any determination of amount made by a court under this section shall be valid only if either (1) made under procedures adopted by the Judicial Council or (2) approved by the Judicial Council.
(a) If a defendant is sentenced pursuant to paragraph (5) of subdivision (h) of Section 1170, the court, in its discretion and in the interests of justice, may order the following relief, subject to the conditions of subdivision (b):
  (1) The court may permit the defendant to withdraw his or her plea of guilty or plea of nolo contendere and enter a plea of not guilty, or, if he or she has been convicted after a plea of not guilty, the court shall set aside the verdict of guilty, and, in either case, the court shall thereupon dismiss the accusations or information against the defendant and he or she shall thereafter be released from all penalties and disabilities resulting from the offense of which he or she has been convicted, except as provided in Section 13555 of the Vehicle Code.
  (2) The relief available under this section may be granted only after the lapse of one year following the defendant's completion of the sentence, if the sentence was imposed pursuant to subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170, or after the lapse of two years following the defendant's completion of the sentence, if the sentence was imposed pursuant to subparagraph (A) of paragraph (5) of subdivision (h) of Section 1170.
  (3) The relief available under this section may be granted only if the defendant is not under supervision pursuant to subparagraph (B) of paragraph (5) of subdivision (h) of Section 1170, and is not serving a sentence for, on probation for, or charged with the commission of any offense.
  (4) The defendant shall be informed, either orally or in writing, of the provisions of this section and of his or her right, if any, to petition for a certificate of rehabilitation and pardon at the time he or she is sentenced.
  (5) The defendant may make the application and change of plea in person or by attorney, or by a probation officer authorized in writing.
  (b) Relief granted pursuant to subdivision (a) is subject to the following conditions:
  (1) In any subsequent prosecution of the defendant for any other offense, the prior conviction may be pleaded and proved and shall have the same effect as if the accusation or information had not been dismissed.
  (2) The order shall state, and the defendant shall be informed, that the order does not relieve him or her of the obligation to disclose the conviction in response to any direct question contained in any questionnaire or application for public office, for licensure by any state or local agency, or for contracting with the California State Lottery Commission.
  (3) Dismissal of an accusation or information pursuant to this section does not permit a person to own, possess, or have in his or her custody or control any firearm or prevent his or her conviction under Chapter 2 (commencing with Section 29800) of Division 9 of Title 4 of Part 6.
  (4) Dismissal of an accusation or information underlying a conviction pursuant to this section does not permit a person prohibited from holding public office as a result of that conviction to hold public office.
  (c) This section applies to any conviction specified in subdivision (a) that occurred before, on, or after January 1, 2014.
  (d) A person who petitions for a change of plea or setting aside of a verdict under this section may be required to reimburse the court for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the court not to exceed one hundred fifty dollars ($150), and to reimburse the county for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the county board of supervisors not to exceed one hundred fifty dollars ($150), and to reimburse any city for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the city council not to exceed one hundred fifty dollars ($150). Ability to make this reimbursement shall be determined by the court using the standards set forth in paragraph (2) of subdivision (g) of Section 987.8 and shall not be a prerequisite to a person's eligibility under this section. The court may order reimbursement in any case in which the petitioner appears to have the ability to pay, without undue hardship, all or any portion of the costs for services established pursuant to this subdivision.
  (e) (1) Relief shall not be granted under this section unless the prosecuting attorney has been given 15 days' notice of the petition for relief. The probation officer shall notify the prosecuting attorney when a petition is filed, pursuant to this section.
  (2) It shall be presumed that the prosecuting attorney has received notice if proof of service is filed with the court.
  (f) If, after receiving notice pursuant to subdivision (e), the prosecuting attorney fails to appear and object to a petition for dismissal, the prosecuting attorney may not move to set aside or otherwise appeal the grant of that petition.
(a) (1) The Legislature finds and declares that the statement in Section 1000.4, that "successful completion of a deferred entry of judgment program shall not, without the defendant's consent, be used in any way that could result in the denial of any employment, benefit, license, or certificate" constitutes misinformation about the actual consequences of making a plea in the case of some defendants, including all noncitizen defendants, because the disposition of the case may cause adverse consequences, including adverse immigration consequences.
  (2) Accordingly, the Legislature finds and declares that based on this misinformation and the potential harm, the defendant's prior plea is invalid.
  (b) For the above-specified reason, in any case in which a defendant was granted deferred entry of judgment on or after January 1, 1997, has performed satisfactorily during the period in which deferred entry of judgment was granted, and for whom the criminal charge or charges were dismissed pursuant to Section 1000.3, the court shall, upon request of the defendant, permit the defendant to withdraw the plea of guilty or nolo contendere and enter a plea of not guilty, and the court shall dismiss the complaint or information against the defendant. If court records showing the case resolution are no longer available, the defendant's declaration, under penalty of perjury, that the charges were dismissed after he or she completed the requirements for deferred entry of judgment, shall be presumed to be true if the defendant has submitted a copy of his or her state summary criminal history information maintained by the Department of Justice that either shows that the defendant successfully completed the deferred entry of judgment program or that the record is incomplete in that it does not show a final disposition. For purposes of this section, a final disposition means that the state summary criminal history information shows either a dismissal after completion of the program or a sentence after termination of the program.
(a) In a case in which a person was under 18 years of age at the time of commission of a misdemeanor and is eligible for, or has previously received, the relief provided by Section 1203.4 or 1203.4a, that person, in a proceeding under Section 1203.4 or 1203.4a, or a separate proceeding, may petition the court for an order sealing the record of conviction and other official records in the case, including records of arrests resulting in the criminal proceeding and records relating to other offenses charged in the accusatory pleading, whether the defendant was acquitted or charges were dismissed. If the court finds that the person was under 18 years of age at the time of the commission of the misdemeanor, and is eligible for relief under Section 1203.4 or 1203.4a or has previously received that relief, it may issue its order granting the relief prayed for. Thereafter the conviction, arrest, or other proceeding shall be deemed not to have occurred, and the petitioner may answer accordingly any question relating to their occurrence.
  (b) This section applies to convictions that occurred before, as well as those that occur after, the effective date of this section.
  (c) This section shall not apply to offenses for which registration is required under Section 290, to violations of Division 10 (commencing with Section 11000) of the Health and Safety Code, or to misdemeanor violations of the Vehicle Code relating to operation of a vehicle or of a local ordinance relating to operation, standing, stopping, or parking of a motor vehicle.
  (d) This section does not apply to a person convicted of more than one offense, whether the second or additional convictions occurred in the same action in which the conviction as to which relief is sought occurred or in another action, except in the following cases:
  (1) One of the offenses includes the other or others.
  (2) The other conviction or convictions were for the following:
  (A) Misdemeanor violations of Chapters 1 (commencing with Section 21000) to 9 (commencing with Section 22500), inclusive, Chapter 12 (commencing with Section 23100), or Chapter 13 (commencing with Section 23250) of Division 11 of the Vehicle Code, other than Section 23103, 23104, 23105, 23152, 23153, or 23220.
  (B) Violation of a local ordinance relating to the operation, stopping, standing, or parking of a motor vehicle.
  (3) The other conviction or convictions consisted of any combination of paragraphs (1) and (2).
  (e) This section shall apply in a case in which a person was under 21 years of age at the time of the commission of an offense as to which this section is made applicable if that offense was committed prior to March 7, 1973.
  (f) In an action or proceeding based upon defamation, a court, upon a showing of good cause, may order the records sealed under this section to be opened and admitted into evidence. The records shall be confidential and shall be available for inspection only by the court, jury, parties, counsel for the parties, and any other person who is authorized by the court to inspect them. Upon the judgment in the action or proceeding becoming final, the court shall order the records sealed.
  (g) A person who is 26 years of age or older and petitions for an order sealing a record under this section may be required to reimburse the court for the actual cost of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the court, not to exceed one hundred fifty dollars ($150), and to reimburse the county for the actual cost of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the county board of supervisors, not to exceed one hundred fifty dollars ($150), and to reimburse any city for the actual cost of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the city council, not to exceed one hundred fifty dollars ($150). Ability to make this reimbursement shall be determined by the court using the standards set forth in paragraph (2) of subdivision (g) of Section 987.8 and shall not be a prerequisite to a person's eligibility under this section. The court may order reimbursement in a case in which the petitioner appears to have the ability to pay, without undue hardship, all or any portion of the cost for services established pursuant to this subdivision.
(a) A person who was found to be a person described in Section 602 of the Welfare and Institutions Code by reason of the commission of an offense described in subdivision (b) of Section 647 or in Section 653.22 may, upon reaching 18 years of age, petition the court to have his or her record sealed, as provided in Section 781 of the Welfare and Institutions Code, except that, as pertaining to any records regarding the commission of an offense described in subdivision (b) of Section 647 or in Section 653.22, it shall not be a requirement in granting the petition for the person to show that he or she has not been convicted of a felony or of any misdemeanor involving moral turpitude, or that rehabilitation has been attained to the satisfaction of the court. Upon granting the petition, all records relating to the violation or violations of subdivision (b) of Section 647 or of Section 653.22, or both, shall be sealed pursuant to Section 781 of the Welfare and Institutions Code.
  (b) The relief provided by this section does not apply to a person adjudicated pursuant to subdivision (b) of Section 647 or of Section 653.22 who paid money or any other valuable thing, or attempted to pay money or any other valuable thing, to any person for the purpose of prostitution as defined in subdivision (b) of Section 647.
  (c) This section applies to adjudications that occurred before, as well as those that occur after, the effective date of this section.
  (d) A petition granted pursuant to this section does not authorize the sealing of any part of a person's record that is unrelated to a violation of subdivision (b) of Section 647, Section 653.22, or both.
If a defendant has been convicted of solicitation or prostitution, as described in subdivision (b) of Section 647, and if the defendant has completed any term of probation for that conviction, the defendant may petition the court for relief under this section. If the defendant can establish by clear and convincing evidence that the conviction was the result of his or her status as a victim of human trafficking, the court may issue an order that does all of the following:
  (a) Sets forth a finding that the petitioner was a victim of human trafficking when he or she committed the crime.
  (b) Orders any of the relief described in Section 1203.4.
  (c) Notifies the Department of Justice that the petitioner was a victim of human trafficking when he or she committed the crime and the relief that has been ordered.
The offices of adult probation officer, assistant adult probation officer, and deputy adult probation officer are hereby created. The probation officers, assistant probation officers, and deputy probation officers appointed in accordance with Chapter 2 (commencing with Section 200) of Division 2 of Part 1 of the Welfare and Institutions Code shall be ex officio adult probation officers, assistant adult probation officers, and deputy adult probation officers except in any county or city and county whose charter provides for the separate office of adult probation officer. When the separate office of adult probation officer has been established he or she shall perform all the duties of probation officers except for matters under the jurisdiction of the juvenile court. Any adult probation officer may accept appointment as member of the Board of Corrections and serve in that capacity in addition to his or her duties as adult probation officer and may receive the per diem allowance authorized in Section 6025.1.
The adult probation officer shall be appointed and may be removed for good cause in a county with two superior court judges, by the presiding judge. In the case of a superior court of more than two judges, a majority of the judges shall make the appointment, and may effect removal. The salary of the probation officer shall be established by the board of supervisors. The adult probation officer shall appoint and may remove all assistants, deputies and other persons employed in the officer's department, and their compensation shall be established, according to the merit system or civil service system provisions of the county. If no merit system or civil service system exists in the county, the board of supervisors shall provide for appointment, removal, and compensation of such personnel. This section is applicable in a charter county whose charter establishes the office of adult probation officer and provides that the officer shall be appointed in accordance with general law subject to the merit system provisions of the charter.
(a) Either at the time of the arrest for a crime of any person over 16 years of age, or at the time of the plea or verdict of guilty, the probation officer of the county of the jurisdiction of the crime shall, when so directed by the court, inquire into the antecedents, character, history, family environment and offense of that person. The probation officer shall report that information to the court and file a written report in the records of the court. The report shall contain his or her recommendation for or against the release of the person on probation.
  (b) If that person is released on probation and committed to the care of the probation officer, the officer shall keep a complete and accurate record of the history of the case in court and of the name of the probation officer, and his or her acts in connection with the case. This information shall include the age, sex, nativity, residence, education, habits of temperance, marital status, and the conduct, employment, occupation, parents' occupation, and the condition of the person committed to his or her care during the term of probation, and the result of probation. This record shall constitute a part of the records of the court and shall at all times be open to the inspection of the court or any person appointed by the court for that purpose, as well as of all magistrates and the chief of police or other head of the police, unless otherwise ordered by the court.
  (c) Five years after termination of probation in any case subject to this section, the probation officer may destroy any records and papers in his or her possession relating to the case.
  (d) The probation officer shall furnish to each person released on probation and committed to his or her care, a written statement of the terms and conditions of probation, and shall report to the court or judge appointing him or her, any violation or breach of the terms and conditions imposed by the court on the person placed in his or her care.
Any of the duties of the probation officer may be performed by a deputy probation officer and shall be performed by him or her whenever detailed to perform those by the probation officer; and it shall be the duty of the probation officer to see that the deputy probation officer performs his or her duties. The probation officer and each deputy probation officer shall have, as to the person so committed to the care of the probation officer or deputy probation officer, the powers of a peace officer. The probation officers and deputy probation officers shall serve as such probation officers in all courts having original jurisdiction of criminal actions in this state.
Except as provided in subparagraph (D) of paragraph (2) of subdivision (b) of Section 1203, no court shall pronounce judgment upon any defendant, as to whom the court has requested a probation report pursuant to Section 1203.7, unless a copy of the probation report has been made available to the court, the prosecuting attorney, and the defendant or his or her attorney, at least two days or, upon the request of the defendant, five days prior to the time fixed by the court for consideration of the report with respect to pronouncement of judgment. The report shall be filed with the clerk of the court as a record in the case at the time the court considers the report. If the defendant is not represented by an attorney, the court, upon ordering the probation report, shall also order the probation officer who prepares the report to discuss its contents with the defendant.
The probation officers and deputy probation officers in all counties of the state shall be allowed those necessary incidental expenses incurred in the performance of their duties as required by any law of this state, as may be authorized by a judge of the superior court; and the same shall be a charge upon the county in which the court appointing them has jurisdiction and shall be paid out of the county treasury upon a warrant issued therefor by the county auditor upon the order of the court; provided, however, that in counties in which the probation officer is appointed by the board of supervisors, the expenses shall be authorized by the probation officer and claims therefor shall be audited, allowed and paid in the same manner as other county claims.
Upon a determination that, in his or her opinion, staff and financial resources available to him or her are insufficient to meet his or her statutory or court ordered responsibilities, the probation officer shall immediately notify the presiding judge of the superior court and the board of supervisors of the county, or city and county, in writing. The notification shall explain which responsibilities cannot be met and what resources are necessary in order that statutory or court ordered responsibilities can be properly discharged.
(a) A county may develop a multiagency plan to prepare and enhance nonviolent felony offenders' successful reentry into the community. The plan shall be developed by, and have the concurrence of, the presiding judge, the chief probation officer, the district attorney, the local custodial agency, and the public defender, or their designees, and shall be submitted to the board of supervisors for its approval. The plan shall provide that when a report prepared pursuant to Section 1203.10 recommends a state prison commitment, the report shall also include, but not be limited to, the offender's treatment, literacy, and vocational needs. Any sentence imposed pursuant to this section shall include a recommendation for completion while in state prison, all relevant programs to address those needs identified in the assessment.
  (b) The Department of Corrections and Rehabilitation is authorized to enter into an agreement with up to three counties to implement subdivision (a) and to provide funding for the purpose of the probation department carrying out the assessment. The Department of Corrections and Rehabilitation, to the extent feasible, shall provide to the offender all programs pursuant to the court's recommendation.
(a) (1) Except as provided in paragraph (3), whenever a person is released on probation or mandatory supervision, the court, upon noticed motion, shall transfer the case to the superior court in any other county in which the person resides permanently, meaning with the stated intention to remain for the duration of probation or mandatory supervision, unless the transferring court determines that the transfer would be inappropriate and states its reasons on the record.
  (2) Upon notice of the motion for transfer, the court of the proposed receiving county may provide comments for the record regarding the proposed transfer, following procedures set forth in rules of court developed by the Judicial Council for this purpose, pursuant to subdivision (f). The court and the probation department shall give the matter of investigating those transfers precedence over all actions or proceedings therein, except actions or proceedings to which special precedence is given by law, to the end that all those transfers shall be completed expeditiously.
  (3) If victim restitution was ordered as a condition of probation or mandatory supervision, the transferring court shall determine the amount of restitution before the transfer unless the court finds that the determination cannot be made within a reasonable time from when the motion for transfer is made. If a case is transferred without a determination of the amount of restitution, the transferring court shall complete the determination as soon as practicable. In all other aspects, except as provided in subdivisions (d) and (e), the court of the receiving county shall have full jurisdiction over the matter upon transfer as provided in subdivision (b).
  (b) The court of the receiving county shall accept the entire jurisdiction over the case effective the date that the transferring court orders the transfer.
  (c) The order of transfer shall contain an order committing the probationer or supervised person to the care and custody of the probation officer of the receiving county and, if applicable, an order for reimbursement of reasonable costs for processing the transfer to be paid to the sending county in accordance with Section 1203.1b. A copy of the orders and any probation reports shall be transmitted to the court and probation officer of the receiving county within two weeks of the finding that the person does permanently reside in or has permanently moved to that county, and the receiving court shall have entire jurisdiction over the case, except as provided in subdivisions (d) and (e), with the like power to again request transfer of the case whenever it seems proper.
  (d) (1) Notwithstanding subdivision (b) and except as provided in subdivision (e), if the transferring court has ordered the defendant to pay fines, fees, forfeitures, penalties, assessments, or restitution, the transfer order shall require that those and any other amounts ordered by the transferring court that are still unpaid at the time of transfer be paid by the defendant to the collection program for the transferring court for proper distribution and accounting once collected.
  (2) The receiving court and receiving county probation department may impose additional local fees and costs as authorized, and shall notify the responsible collection program for the transferring court of those changes.
  (3) Any local fees imposed pursuant to paragraph (2) shall be paid by the defendant to the collection program for the transferring court which shall remit the additional fees and costs to the receiving court for proper accounting and distribution.
  (e) (1) Upon approval of a transferring court, a receiving court may elect to collect all of the court-ordered payments from a defendant attributable to the case under which the defendant is being supervised, provided, however, that the collection program for the receiving court transmits the revenue collected to the collection program for the transferring court for deposit, accounting, and distribution. A collection program for the receiving court shall not charge administrative fees for collections performed for the collection program for the transferring court without a written agreement with the other program.
  (2) A collection program for a receiving court collecting funds for a collection program for a transferring court pursuant to paragraph (1) shall not report revenue owed or collected on behalf of the collection program for the transferring court as part of those collections required to be reported annually by the court to the Judicial Council.
  (f) The Judicial Council shall promulgate rules of court for procedures by which the proposed receiving county shall receive notice of the motion for transfer and by which responsive comments may be transmitted to the court of the transferring county. The Judicial Council shall adopt rules providing factors for the court's consideration when determining the appropriateness of a transfer, including, but not limited to, the following:
  (1) Permanency of residence of the offender.
  (2) Local programs available for the offender.
  (3) Restitution orders and victim issues.
  (g) The Judicial Council shall consider adoption of rules of court as it deems appropriate to implement the collection, accounting, and disbursement requirements of subdivisions (d) and (e).
At the time of the plea or verdict of guilty of any person over 18 years of age, the probation officer of the county of the jurisdiction of said criminal shall, when so directed by the court, inquire into the antecedents, character, history, family environment, and offense of such person, and must report the same to the court and file his report in writing in the records of such court. When directed, his report shall contain his recommendation for or against the release for such person on probation. If any such person shall be released on probation and committed to the care of the probation officer, such officer shall keep a complete and accurate record in suitable books or other form in writing of the history of the case in court, and of the name of the probation officer, and his act in connection with said case; also the age, sex, nativity, residence, education, habit of temperance, whether married or single, and the conduct, employment and occupation, and parents' occupation, and condition of such person committed to his care during the term of such probation and the result of such probation. Such record of such probation officer shall be and constitute a part of the records of the court, and shall at all times be open to the inspection of the court or of any person appointed by the court for that purpose, as well as of all magistrates, and the chief of police, or other heads of the police, unless otherwise ordered by the court. Said books of records shall be furnished for the use of said probation officer of said county, and shall be paid for out of the county treasury. Five years after termination of probation in any case subject to this section, the probation officer may destroy any records and papers in his possession relating to such case.
A probation or parole officer or parole agent of the Department of Corrections may serve any process regarding the issuance of a temporary restraining order or other protective order against a person committed to the care of the probation or parole officer or parole agent when the person appears for an appointment with the probation or parole officer or parole agent at their office.
The probation officer shall furnish to each person who has been released on probation, and committed to his care, a written statement of the terms and conditions of his probation unless such a statement has been furnished by the court, and shall report to the court, or judge, releasing such person on probation, any violation or breach of the terms and conditions imposed by such court on the person placed in his care.
The probation officer of any county may establish, or assist in the establishment of, any public council or committee having as its object the prevention of crime, and may cooperate with or participate in the work of any such councils or committees for the purpose of preventing or decreasing crime, including the improving of recreational, health, and other conditions in the community.
Notwithstanding any other provision of law, probation departments may engage in activities designed to prevent adult delinquency. These activities include rendering direct and indirect services to persons in the community. Probation departments shall not be limited to providing services only to those persons on probation being supervised under Section 1203.10, but may provide services to any adults in the community.
1203a. In all counties and cities and counties the courts therein, having jurisdiction to impose punishment in misdemeanor cases, shall have the power to refer cases, demand reports and to do and require all things necessary to carry out the purposes of Section 1203 of this code insofar as they are in their nature applicable to misdemeanors. Any such court shall have power to suspend the imposing or the execution of the sentence, and to make and enforce the terms of probation for a period not to exceed three years; provided, that when the maximum sentence provided by law exceeds three years imprisonment, the period during which sentence may be suspended and terms of probation enforced may be for a longer period than three years, but in such instance, not to exceed the maximum time for which sentence of imprisonment might be pronounced.
1203b. All courts shall have power to suspend the imposition or execution of a sentence and grant a conditional sentence in misdemeanor and infraction cases without referring such cases to the probation officer. Unless otherwise ordered by the court, persons granted a conditional sentence in the community shall report only to the court and the probation officer shall not be responsible in any way for supervising or accounting for such persons.
1203c. (a) (1) Notwithstanding any other law, whenever a person is committed to an institution under the jurisdiction of the Department of Corrections and Rehabilitation, whether probation has been applied for or not, or granted and revoked, it shall be the duty of the probation officer of the county from which the person is committed to send to the Department of Corrections and Rehabilitation a report of the circumstances surrounding the offense and the prior record and history of the defendant, as may be required by the Secretary of the Department of Corrections and Rehabilitation.
  (2) If the person is being committed to the jurisdiction of the department for a conviction of an offense that requires him or her to register as a sex offender pursuant to Section 290, the probation officer shall include in the report the results of the State-Authorized Risk Assessment Tool for Sex Offenders (SARATSO) administered pursuant to Sections 290.04 to 290.06, inclusive, if applicable.
  (b) These reports shall accompany the commitment papers. The reports shall be prepared in the form prescribed by the administrator following consultation with the Board of State and Community Corrections, except that if the defendant is ineligible for probation, a report of the circumstances surrounding the offense and the prior record and history of the defendant, prepared by the probation officer on request of the court and filed with the court before sentence, shall be deemed to meet the requirements of paragraph (1) of subdivision (a).
  (c) In order to allow the probation officer an opportunity to interview, for the purpose of preparation of these reports, the defendant shall be held in the county jail for 48 hours, excluding Saturdays, Sundays, and holidays, subsequent to imposition of sentence and prior to delivery to the custody of the Secretary of the Department of Corrections and Rehabilitation, unless the probation officer has indicated the need for a different period of time.
  (d) Whenever a person is committed to an institution under the jurisdiction of the Department of Corrections and Rehabilitation or a county jail pursuant to subdivision (h) of Section 1170, or is placed on postrelease community supervision or mandatory supervision, and the court has ordered the person to pay restitution to a victim, the following shall apply:
  (1) If the victim consents, the probation officer of the county from which the person is committed may send the victim's contact information and a copy of the restitution order to the department or to the county agency designated by the board of supervisors to collect and distribute restitution for the sole purpose of distributing the restitution collected on behalf of the victim.
  (2) Notwithstanding paragraph (1), the district attorney of the county from which the person is committed may send the victim's contact information and a copy of the restitution order to the department or to the county agency designated by the board of supervisors to collect and distribute restitution for the sole purpose of distributing the restitution collected on behalf of the victim if the district attorney finds it is in the best interest of the victim to send that information. If the victim affirmatively objects, the district attorney shall not send the victim's contact information. The district attorney shall not be required to inform the victim of the right to object.
  (3) The victim's contact information shall remain confidential and shall not be made part of the court file or combined with any public document.
1203d. No court shall pronounce judgment upon any defendant, as to whom the court has requested a probation report pursuant to Section 1203.10, unless a copy of the probation report has been made available to the court, the prosecuting attorney, and the defendant or his or her attorney, at least two days or, upon the request of the defendant, five days prior to the time fixed by the court for consideration of the report with respect to pronouncement of judgment. The report shall be filed with the clerk of the court as a record in the case at the time the court considers the report. If the defendant is not represented by an attorney, the court, upon ordering the probation report, shall also order the probation officer who prepares the report to discuss its contents with the defendant. Any waiver of the preparation of the report or the consideration of the report by the court shall be as provided in subdivision (b) of Section 1203, with respect to cases to which that subdivision applies. The sentence recommendations of the report shall also be made available to the victim of the crime, or the victim's next of kin if the victim has died, through the district attorney's office. The victim or the victim's next of kin shall be informed of the availability of this information through the notice provided pursuant to Section 1191.1.
1203e. (a) Commencing June 1, 2010, the probation department shall compile a Facts of Offense Sheet for every person convicted of an offense that requires him or her to register as a sex offender pursuant to Section 290 who is referred to the department pursuant to Section 1203. The Facts of Offense Sheet shall contain the following information concerning the offender: name; CII number; criminal history, including all arrests and convictions for any registerable sex offenses or any violent offense; circumstances of the offense for which registration is required, including, but not limited to, weapons used and victim pattern; and results of the State-Authorized Risk Assessment Tool for Sex Offenders (SARATSO), as set forth in Section 290.04, if required. The Facts of Offense Sheet shall be included in the probation officer's report.
  (b) The defendant may move the court to correct the Facts of Offense Sheet. Any corrections to that sheet shall be made consistent with procedures set forth in Section 1204.
  (c) The probation officer shall send a copy of the Facts of Offense Sheet to the Department of Justice High Risk Sex Offender Program within 30 days of the person's sex offense conviction, and it shall be made part of the registered sex offender's file maintained by the Sex Offender Tracking Program. The Facts of Offense Sheet shall thereafter be made available to law enforcement by the Department of Justice, which shall post it with the offender's record on the Department of Justice Internet Web site maintained pursuant to Section 290.46, and shall be accessible only to law enforcement.
  (d) If the registered sex offender is sentenced to a period of incarceration, at either the state prison or a county jail, the Facts of Offense Sheet shall be sent by the Department of Corrections and Rehabilitation or the county sheriff to the registering law enforcement agency in the jurisdiction where the registered sex offender will be paroled or will live on release, within three days of the person's release. If the registered sex offender is committed to the State Department of State Hospitals, the Facts of Offense Sheet shall be sent by the State Department of State Hospitals to the registering law enforcement agency in the jurisdiction where the person will live on release, within three days of release.
1203f. Every probation department shall ensure that all probationers under active supervision who are deemed to pose a high risk to the public of committing sex crimes, as determined by the State-Authorized Risk Assessment Tool for Sex Offenders, as set forth in Sections 290.04 to 290.06, inclusive, are placed on intensive and specialized probation supervision and are required to report frequently to designated probation officers. The probation department may place any other probationer convicted of an offense that requires him or her to register as a sex offender who is on active supervision to be placed on intensive and specialized supervision and require him or her to report frequently to designated probation officers.
1203h. If the court initiates an investigation pursuant to subdivision (a) or (d) of Section 1203 and the convicted person was convicted of violating any section of this code in which a minor is a victim of an act of abuse or neglect, then the investigation may include a psychological evaluation to determine the extent of counseling necessary for successful rehabilitation and which may be mandated by the court during the term of probation. Such evaluation may be performed by psychiatrists, psychologists, or licensed clinical social workers. The results of the examination shall be included in the probation officer's report to the court.
The circumstances shall be presented by the testimony of witnesses examined in open court, except that when a witness is so sick or infirm as to be unable to attend, his deposition may be taken by a magistrate of the county, out of court, upon such notice to the adverse party as the court may direct. No affidavit or testimony, or representation of any kind, verbal or written, can be offered to or received by the court, or a judge thereof, in aggravation or mitigation of the punishment, except as provided in this and the preceding section. This section shall not be construed to prohibit the filing of a written report by a defendant or defendant's counsel on behalf of a defendant if such a report presents a study of his background and personality and suggests a rehabilitation program. If such a report is submitted, the prosecution or probation officer shall be permitted to reply to or to evaluate the program.
(a) In any criminal action, after the filing of any complaint or other accusatory pleading and before a plea, finding, or verdict of guilty, no judge shall read or consider any written report of any law enforcement officer or witness to any offense, any information reflecting the arrest or conviction record of a defendant, or any affidavit or representation of any kind, verbal or written, without the defendant's consent given in open court, except as provided in the rules of evidence applicable at the trial, or as provided in affidavits in connection with the issuance of a warrant or the hearing of any law and motion matter, or in any application for an order fixing or changing bail, or a petition for a writ.
  (b) This section does not preclude a judge, who is not the preliminary hearing or trial judge in the case, from considering any information about the defendant for the purpose of that judge adopting a pre-trial sentencing position or approving or disapproving a guilty plea entered pursuant to Section 1192.5, if all of the following occur:
  (1) The defendant is represented by counsel, unless he or she expressly waives the right to counsel.
  (2) Any information provided to the judge for either of those purposes is also provided to the district attorney and to the defense counsel at least five days prior to any hearing or conference held for the purpose of considering a proposed guilty plea or proposed sentence.
  (3) At any hearing or conference held for either of those purposes, defense counsel or the district attorney is allowed to provide information, either on or off the record, to supplement or rebut the information provided pursuant to paragraph (2).
(a) A judgment that the defendant pay a fine, with or without other punishment, may also direct that he or she be imprisoned until the fine is satisfied and may further direct that the imprisonment begin at and continue after the expiration of any imprisonment imposed as a part of the punishment or of any other imprisonment to which the defendant may have been sentenced. The judgment shall specify the term of imprisonment for nonpayment of the fine, which shall not be more than one day for each one hundred twenty five dollars ($125) of the fine, nor exceed the term for which the defendant may be sentenced to imprisonment for the offense of which he or she has been convicted. A defendant held in custody for nonpayment of a fine shall be entitled to credit on the fine for each day he or she is held in custody, at the rate specified in the judgment. When the defendant has been convicted of a misdemeanor, a judgment that the defendant pay a fine may also direct that he or she pay the fine within a limited time or in installments on specified dates, and that in default of payment as stipulated he or she be imprisoned in the discretion of the court either until the defaulted installment is satisfied or until the fine is satisfied in full; but unless the direction is given in the judgment, the fine shall be payable.
  (b) Except as otherwise provided in case of fines imposed, as a condition of probation, the defendant shall pay the fine to the clerk of the court, or to the judge if there is no clerk, unless the defendant is taken into custody for nonpayment of the fine, in which event payments made while he or she is in custody shall be made to the officer who holds the defendant in custody, and all amounts paid shall be paid over by the officer to the court that rendered the judgment. The clerk shall report to the court every default in payment of a fine or any part of that fine, or if there is no clerk, the court shall take notice of the default. If time has been given for payment of a fine or it has been made payable in installments, the court shall, upon any default in payment, immediately order the arrest of the defendant and order him or her to show cause why he or she should not be imprisoned until the fine or installment is satisfied in full. If the fine or installment is payable forthwith and it is not paid, the court shall, without further proceedings, immediately commit the defendant to the custody of the proper officer to be held in custody until the fine or installment is satisfied in full.
  (c) This section applies to any violation of any of the codes or statutes of this state punishable by a fine or by a fine and imprisonment.
  (d) Nothing in this section shall be construed to prohibit the clerk of the court, or the judge if there is no clerk, from turning these accounts over to another county department or a collecting agency for processing and collection.
  (e) The defendant shall pay to the clerk of the court or the collecting agency a fee for the processing of installment accounts. This fee shall equal the administrative and clerical costs, as determined by the board of supervisors, or by the court, depending on which entity administers the account. The defendant shall pay to the clerk of the court or the collecting agency the fee established for the processing of the accounts receivable that are not to be paid in installments. The fee shall equal the administrative and clerical costs, as determined by the board of supervisors, or by the court, depending on which entity administers the account, except that the fee shall not exceed thirty dollars ($30).
  (f) This section shall not apply to restitution fines and restitution orders.
In any case in which a defendant is convicted of an offense and granted probation, and the court orders the defendant either to pay a fine or to perform specified community service work as a condition of probation, the court shall specify that if community service work is performed, it shall be performed in place of the payment of all fines and restitution fines on a proportional basis, and the court shall specify in its order the amount of the fine and restitution fine and the number of hours of community service work that shall be performed as an alternative to payment of the fine.
When judgment upon a conviction is rendered, the clerk must enter the judgment in the minutes, stating briefly the offense for which the conviction was had, and the fact of a prior conviction, if any. A copy of the judgment of conviction shall be filed with the papers in the case.
(a) (1) The provisions of this section, insofar as they relate to employment, shall be operative in any county in which the board of supervisors by ordinance finds, on the basis of employment conditions, the state of the county jail facilities, and other pertinent circumstances, that the operation of this section, insofar as it relates to employment, in that county is feasible. The provisions of this section, insofar as they relate to job training, shall be operative in any county in which the board of supervisors by ordinance finds, on the basis of job training conditions, the state of the county jail facilities, and other pertinent circumstances, that the operation of this section, insofar as it relates to job training, in that county is feasible. The provisions of this section, insofar as they relate to education, shall be operative in any county in which the board of supervisors by ordinance finds, on the basis of education conditions, the state of the county jail facilities, and other pertinent circumstances, that the operation of this section, insofar as it relates to education, in that county is feasible. In any ordinance the board shall prescribe whether the sheriff, the probation officer, the director of the county department of corrections, or the superintendent of a county industrial farm or industrial road camp in the county shall perform the functions of the work furlough administrator. The board may, in that ordinance, provide for the performance of any or all functions of the work furlough administrator by any one or more of those persons, acting separately or jointly as to any of the functions; and may, by a subsequent ordinance, revise the provisions within the authorization of this section. The board of supervisors may also terminate the operation of this section, either with respect to employment, job training, or education in the county, if the board finds by ordinance that because of changed circumstances, the operation of this section, either with respect to employment, job training, or education in that county, is no longer feasible.
  (2) Notwithstanding any other law, the board of supervisors may by ordinance designate a facility for confinement of prisoners classified for the work furlough program and designate the work furlough administrator as the custodian of the facility. The work furlough administrator may operate the work furlough facility or, with the approval of the board of supervisors, administer the work furlough facility pursuant to written contracts with appropriate public or private agencies or private entities. No agency or private entity may operate a work furlough program or facility without a written contract with the work furlough administrator, and no agency or private entity entering into a written contract may itself employ any person who is in the work furlough program. The sheriff or director of the county department of corrections, as the case may be, is authorized to transfer custody of prisoners to the work furlough administrator to be confined in a facility for the period during which they are in the work furlough program.
  (3) All privately operated local work furlough facilities and programs shall be under the jurisdiction of, and subject to the terms of a written contract entered into with, the work furlough administrator. Each contract shall include, but not be limited to, a provision whereby the private agency or entity agrees to operate in compliance with all appropriate state and local building, zoning, health, safety, and fire statutes, ordinances, and regulations and the minimum jail standards for Type IV facilities as established by regulations adopted by the Board of State and Community Corrections, and a provision whereby the private agency or entity agrees to operate in compliance with Section 1208.2, which provides that no eligible person shall be denied consideration for, or be removed from, participation in a work furlough program because of an inability to pay all or a portion of the program fees. The private agency or entity shall select and train its personnel in accordance with selection and training requirements adopted by the Board of State and Community Corrections as set forth in Subchapter 1 (commencing with Section 100) of Chapter 1 of Division 1 of Title 15 of the California Code of Regulations. Failure to comply with the appropriate health, safety, and fire laws or minimum jail standards adopted by the board may be cause for termination of the contract. Upon discovery of a failure to comply with these requirements, the work furlough administrator shall notify the privately operated program director that the contract may be canceled if the specified deficiencies are not corrected within 60 days.
  (4) All private work furlough facilities and programs shall be inspected biennially by the Board of State and Community Corrections unless the work furlough administrator requests an earlier inspection pursuant to Section 6031.1. Each private agency or entity shall pay a fee to the Board of State and Community Corrections commensurate with the cost of those inspections and a fee commensurate with the cost of the initial review of the facility.
  (b) When a person is convicted and sentenced to the county jail, or is imprisoned in the county jail for nonpayment of a fine, for contempt, or as a condition of probation for any criminal offense, the work furlough administrator may, if he or she concludes that the person is a fit subject to continue in his or her regular employment, direct that the person be permitted to continue in that employment, if that is compatible with the requirements of subdivision (c), or may authorize the person to secure employment for himself or herself, unless the court at the time of sentencing or committing has ordered that the person not be granted work furloughs. The work furlough administrator may, if he or she concludes that the person is a fit subject to continue in his or her job training program, direct that the person be permitted to continue in that job training program, if that is compatible with the requirements of subdivision (c), or may authorize the person to secure local job training for himself or herself, unless the court at the time of sentencing has ordered that person not be granted work furloughs. The work furlough administrator may, if he or she concludes that the person is a fit subject to continue in his or her regular educational program, direct that the person be permitted to continue in that educational program, if that is compatible with the requirements of subdivision (c), or may authorize the person to secure education for himself or herself, unless the court at the time of sentencing has ordered that person not be granted work furloughs.
  (c) If the work furlough administrator so directs that the prisoner be permitted to continue in his or her regular employment, job training, or educational program, the administrator shall arrange for a continuation of that employment or for that job training or education, so far as possible without interruption. If the prisoner does not have regular employment or a regular job training or educational program, and the administrator has authorized the prisoner to secure employment, job training, or education for himself or herself, the prisoner may do so, and the administrator may assist the prisoner in doing so. Any employment, job training, or education so secured shall be suitable for the prisoner. The employment, and the job training or educational program if it includes earnings by the prisoner, shall be at a wage at least as high as the prevailing wage for similar work in the area where the work is performed and in accordance with the prevailing working conditions in that area. In no event may any employment, job training, or educational program involving earnings by the prisoner be permitted where there is a labor dispute in the establishment in which the prisoner is, or is to be, employed, trained, or educated.
  (d) (1) Whenever the prisoner is not employed or being trained or educated and between the hours or periods of employment, training, or education, the prisoner shall be confined in the facility designated by the board of supervisors for work furlough confinement unless the work furlough administrator directs otherwise. If the prisoner is injured during a period of employment, job training, or education, the work furlough administrator shall have the authority to release him or her from the facility for continued medical treatment by private physicians or at medical facilities at the expense of the employer, workers' compensation insurer, or the prisoner. The release shall not be construed as assumption of liability by the county or work furlough administrator for medical treatment obtained.
  (2) The work furlough administrator may release any prisoner classified for the work furlough program for a period not to exceed 72 hours for medical, dental, or psychiatric care, or for family emergencies or pressing business which would result in severe hardship if the release were not granted, or to attend those activities as the administrator deems may effectively promote the prisoner's successful return to the community, including, but not limited to, an attempt to secure housing, employment, entry into educational programs, or participation in community programs.
  (e) The earnings of the prisoner may be collected by the work furlough administrator, and it shall be the duty of the prisoner's employer to transmit the wages to the administrator at the latter's request. Earnings levied upon pursuant to writ of execution or in other lawful manner shall not be transmitted to the administrator. If the administrator has requested transmittal of earnings prior to levy, that request shall have priority. In a case in which the functions of the administrator are performed by a sheriff, and the sheriff receives a writ of execution for the earnings of a prisoner subject to this section but has not yet requested transmittal of the prisoner's earnings pursuant to this section, the sheriff shall first levy on the earnings pursuant to the writ. When an employer or educator transmits earnings to the administrator pursuant to this subdivision, the sheriff shall have no liability to the prisoner for those earnings. From the earnings the administrator shall pay the prisoner's board and personal expenses, both inside and outside the jail, and shall deduct so much of the costs of administration of this section as is allocable to the prisoner or if the prisoner is unable to pay that sum, a lesser sum as is reasonable, and, in an amount determined by the administrator, shall pay the support of the prisoner's dependents, if any. If sufficient funds are available after making the foregoing payments, the administrator may, with the consent of the prisoner, pay, in whole or in part, the preexisting debts of the prisoner. Any balance shall be retained until the prisoner's discharge. Upon discharge the balance shall be paid to the prisoner.
  (f) The prisoner shall be eligible for time credits pursuant to Sections 4018 and 4019.
  (g) If the prisoner violates the conditions laid down for his or her conduct, custody, job training, education, or employment, the work furlough administrator may order the balance of the prisoner's sentence to be spent in actual confinement.
  (h) Willful failure of the prisoner to return to the place of confinement not later than the expiration of any period during which he or she is authorized to be away from the place of confinement pursuant to this section is punishable as provided in Section 4532.
  (i) The court may recommend or refer a person to the work furlough administrator for consideration for placement in the work furlough program or a particular work furlough facility. The recommendation or referral of the court shall be given great weight in the determination of acceptance or denial for placement in the work furlough program or a particular work furlough facility.
  (j) As used in this section, the following definitions apply:
  (1) "Education" includes vocational and educational training and counseling, and psychological, drug abuse, alcoholic, and other rehabilitative counseling.
  (2) "Educator" includes a person or institution providing that training or counseling.
  (3) "Employment" includes care of children, including the daytime care of children of the prisoner.
  (4) "Job training" may include, but shall not be limited to, job training assistance.
  (k) This section shall be known and may be cited as the "Cobey Work Furlough Law."
(a) (1) This section shall apply to individuals authorized to participate in a work furlough program pursuant to Section 1208, or to individuals authorized to participate in an electronic home detention program pursuant to Section 1203.016 or 1203.018, or to individuals authorized to participate in a county parole program pursuant to Article 3.5 (commencing with Section 3074) of Chapter 8 of Title 1 of Part 3.
  (2) As used in this section, as appropriate, "administrator" means the sheriff, probation officer, director of the county department of corrections, or county parole administrator.
  (b) (1) A board of supervisors which implements programs identified in paragraph (1) of subdivision (a), may prescribe a program administrative fee and an application fee, that together shall not exceed the pro rata cost of the program to which the person is accepted, including equipment, supervision, and other operating costs, except as provided in paragraph (2).
  (2) With regard to a privately operated electronic home detention program pursuant to Section 1203.016 or 1203.018, the limitation, described in paragraph (1), in prescribing a program administrative fee and application fee shall not apply.
  (c) The correctional administrator, or his or her designee, shall not have access to a person's financial data prior to granting or denying a person's participation in, or assigning a person to, any of the programs governed by this section.
  (d) The correctional administrator, or his or her designee, shall not consider a person's ability or inability to pay all or a portion of the program fee for the purposes of granting or denying a person's participation in, or assigning a person to, any of the programs governed by this section.
  (e) For purposes of this section, "ability to pay" means the overall capability of the person to reimburse the costs, or a portion of the costs, of providing supervision and shall include, but shall not be limited to, consideration of all of the following factors:
  (1) Present financial position.
  (2) Reasonably discernible future financial position. In no event shall the administrator, or his or her designee, consider a period of more than six months from the date of acceptance into the program for purposes of determining reasonably discernible future financial position.
  (3) Likelihood that the person shall be able to obtain employment within the six-month period from the date of acceptance into the program.
  (4) Any other factor that may bear upon the person's financial capability to reimburse the county for the fees fixed pursuant to subdivision (b).
  (f) The administrator, or his or her designee, may charge a person the fee set by the board of supervisors or any portion of the fee and may determine the method and frequency of payment. Any fee the administrator, or his or her designee, charges pursuant to this section shall not in any case be in excess of the fee set by the board of supervisors and shall be based on the person's ability to pay. The administrator, or his or her designee, shall have the option to waive the fees for program supervision when deemed necessary, justified, or in the interests of justice. The fees charged for program supervision may be modified or waived at any time based on the changing financial position of the person. All fees paid by persons for program supervision shall be deposited into the general fund of the county.
  (g) No person shall be denied consideration for, or be removed from, participation in any of the programs to which this section applies because of an inability to pay all or a portion of the program supervision fees. At any time during a person's sentence, the person may request that the administrator, or his or her designee, modify or suspend the payment of fees on the grounds of a change in circumstances with regard to the person's ability to pay.
  (h) If the person and the administrator, or his or her designee, are unable to come to an agreement regarding the person's ability to pay, or the amount which is to be paid, or the method and frequency with which payment is to be made, the administrator, or his or her designee, shall advise the appropriate court of the fact that the person and administrator, or his or her designee, have not been able to reach agreement and the court shall then resolve the disagreement by determining the person's ability to pay, the amount which is to be paid, and the method and frequency with which payment is to be made.
  (i) At the time a person is approved for any of the programs to which this section applies, the administrator, or his or her designee, shall furnish the person a written statement of the person' s rights in regard to the program for which the person has been approved, including, but not limited to, both of the following:
  (1) The fact that the person cannot be denied consideration for or removed from participation in the program because of an inability to pay.
  (2) The fact that if the person is unable to reach agreement with the administrator, or his or her designee, regarding the person's ability to pay, the amount which is to be paid, or the manner and frequency with which payment is to be made, that the matter shall be referred to the court to resolve the differences.
  (j) In all circumstances where a county board of supervisors has approved a program administrator, as described in Section 1203.016, 1203.018, or 1208, to enter into a contract with a private agency or entity to provide specified program services, the program administrator shall ensure that the provisions of this section are contained within any contractual agreement for this purpose. All privately operated home detention programs shall comply with all appropriate, applicable ordinances and regulations specified in subdivision (a) of Section 1208.
The administrator is not prohibited by subdivision (c) of Section 1208.2 from verifying any of the following:
  (a) That the prisoner is receiving wages at a rate of pay not less than the prevailing minimum wage requirement as provided for in subdivision (c) of Section 1208.
  (b) That the prisoner is working a specified minimum number of required hours.
  (c) That the prisoner is covered under an appropriate or suitable workers' compensation insurance plan as may otherwise be required by law. The purpose of the verification shall be solely to insure that the prisoner's employment rights are being protected, that the prisoner is not being taken advantage of, that the job is suitable for the prisoner, and that the prisoner is making every reasonable effort to make a productive contribution to the community.
The boards of supervisors of two or more counties having work furlough programs may enter into agreements whereby a person sentenced to, or imprisoned in, the jail of one county, but regularly residing in another county or regularly employed in another county, may be transferred by the sheriff of the county in which he or she is confined to the jail of the county in which he or she resides or is employed, in order that he or she may be enabled to continue in his or her regular employment or education in the other county through the county's work furlough program. This agreement may make provision for the support of transferred persons by the county from which they are transferred. The board of supervisors of any county may, by ordinance, delegate the authority to enter into these agreements to the work furlough administrator. This section shall become operative on January 1, 1999.
Upon conviction of any criminal offense for which the court orders the confinement of a person in the county jail, or other suitable place of confinement, either as the final sentence or as a condition of any grant of probation, and allows the person so sentenced to continue in his or her regular employment by serving the sentence on weekends or similar periods during the week other than their regular workdays and by virtue of this schedule of serving the sentence the prisoner is ineligible for work furlough under Section 1208, the county may collect from the defendant according to the defendant's ability to pay so much of the costs of administration of this section as are allocable to such defendant. The amount of this fee shall not exceed the actual costs of such confinement and may be collected prior to completion of each weekly or monthly period of confinement until the entire sentence has been served, and the funds shall be deposited in the county treasury pursuant to county ordinance. The court, upon allowing sentences to be served on weekends or other nonemployment days, shall conduct a hearing to determine if the defendant has the ability to pay all or a part of the costs of administration without resulting in unnecessary economic hardship to the defendant and his or her dependents. At the hearing, the defendant shall be entitled to have, but shall not be limited to, the opportunity to be heard in person, to present witnesses and other documentary evidence, and to confront and cross-examine adverse witnesses, and to disclosure of the evidence against the defendant, and a written statement of the findings of the court. If the court determines that the defendant has the ability to pay all or part of the costs of administration without resulting in unnecessary economic hardship to the defendant and his or her dependents, the court shall advise the defendant of the provisions of this section and order him or her to pay all or part of the fee as required by the sheriff, probation officer, or Director of the County Department of Corrections, whichever the case may be. In making a determination of whether a defendant has the ability to pay, the court shall take into account the amount of any fine imposed upon the defendant and any amount the defendant has been ordered to pay in restitution. As used in this section, the term "ability to pay" means the overall capability of the defendant to reimburse the costs, or a portion of the costs, and shall include, but shall not be limited to, the following:
  (a) The defendant's present financial position.
  (b) The defendant's reasonably discernible future financial position. In no event shall the court consider a period of more than six months from the date of the hearing for purposes of determining reasonably discernible future financial position.
  (c) Likelihood that the defendant shall be able to obtain employment within the six-month period from the date of the hearing.
  (d) Any other factor or factors which may bear upon the defendant' s financial capability to reimburse the county for the costs. Execution may be issued on the order in the same manner as a judgment in a civil action. The order to pay all or part shall not be enforced by contempt. At any time during the pendency of the judgment, a defendant against whom a judgment has been rendered may petition the rendering court to modify or vacate its previous judgment on the grounds of a change of circumstances with regard to the defendant's ability to pay the judgment. The court shall advise the defendant of this right at the time of making the judgment.
Notwithstanding any other provision of law, any person convicted of an infraction may, upon a showing that payment of the total fine would pose a hardship on the defendant or his or her family, be sentenced to perform community service in lieu of the total fine that would otherwise be imposed. The defendant shall perform community service at the hourly rate applicable to community service work performed by criminal defendants. For purposes of this section, the term "total fine" means the base fine and all assessments, penalties, and additional moneys to be paid by the defendant. For purposes of this section, the hourly rate applicable to community service work by criminal defendants shall be determined by dividing the total fine by the number of hours of community service ordered by the court to be performed in lieu of the total fine.
As used in Sections 1210.1 and 3063.1 of this code, and Division 10.8 (commencing with Section 11999.4) of the Health and Safety Code, the following definitions apply:
  (a) The term "nonviolent drug possession offense" means the unlawful personal use, possession for personal use, or transportation for personal use of any controlled substance identified in Section 11054, 11055, 11056, 11057 or 11058 of the Health and Safety Code, or the offense of being under the influence of a controlled substance in violation of Section 11550 of the Health and Safety Code. The term "nonviolent drug possession offense" does not include the possession for sale, production, or manufacturing of any controlled substance and does not include violations of Section 4573.6 or 4573.8.
  (b) The term "drug treatment program" or "drug treatment" means a state licensed or certified community drug treatment program, which may include one or more of the following: drug education, outpatient services, narcotic replacement therapy, residential treatment, detoxification services, and aftercare services. The term "drug treatment program" or "drug treatment" includes a drug treatment program operated under the direction of the Veterans Health Administration of the Department of Veterans Affairs or a program specified in Section 8001. That type of program shall be eligible to provide drug treatment services without regard to the licensing or certification provisions required by this subdivision. The term "drug treatment program" or "drug treatment" does not include drug treatment programs offered in a prison or jail facility.
  (c) The term "successful completion of treatment" means that a defendant who has had drug treatment imposed as a condition of probation has completed the prescribed course of drug treatment as recommended by the treatment provider and ordered by the court and, as a result, there is reasonable cause to believe that the defendant will not abuse controlled substances in the future. Completion of treatment shall not require cessation of narcotic replacement therapy.
  (d) The term "misdemeanor not related to the use of drugs" means a misdemeanor that does not involve (1) the simple possession or use of drugs or drug paraphernalia, being present where drugs are used, or failure to register as a drug offender, or (2) any activity similar to those listed in (1).
(a) Notwithstanding any other provision of law, and except as provided in subdivision (b), any person convicted of a nonviolent drug possession offense shall receive probation. As a condition of probation the court shall require participation in and completion of an appropriate drug treatment program. The court shall impose appropriate drug testing as a condition of probation. The court may also impose, as a condition of probation, participation in vocational training, family counseling, literacy training and/or community service. A court may not impose incarceration as an additional condition of probation. Aside from the limitations imposed in this subdivision, the trial court is not otherwise limited in the type of probation conditions it may impose. Probation shall be imposed by suspending the imposition of sentence. No person shall be denied the opportunity to benefit from the provisions of the Substance Abuse and Crime Prevention Act of 2000 based solely upon evidence of a co-occurring psychiatric or developmental disorder. To the greatest extent possible, any person who is convicted of, and placed on probation pursuant to this section for a nonviolent drug possession offense shall be monitored by the court through the use of a dedicated court calendar and the incorporation of a collaborative court model of oversight that includes close collaboration with treatment providers and probation, drug testing commensurate with treatment needs, and supervision of progress through review hearings. In addition to any fine assessed under other provisions of law, the trial judge may require any person convicted of a nonviolent drug possession offense who is reasonably able to do so to contribute to the cost of his or her own placement in a drug treatment program.
  (b) Subdivision (a) shall not apply to any of the following:
  (1) Any defendant who previously has been convicted of one or more violent or serious felonies as defined in subdivision (c) of Section 667.5 or subdivision (c) of Section 1192.7, respectively, unless the nonviolent drug possession offense occurred after a period of five years in which the defendant remained free of both prison custody and the commission of an offense that results in a felony conviction other than a nonviolent drug possession offense, or a misdemeanor conviction involving physical injury or the threat of physical injury to another person.
  (2) Any defendant who, in addition to one or more nonviolent drug possession offenses, has been convicted in the same proceeding of a misdemeanor not related to the use of drugs or any felony.
  (3) Any defendant who, while armed with a deadly weapon, with the intent to use the same as a deadly weapon, unlawfully possesses or is under the influence of any controlled substance identified in Section 11054, 11055, 11056, 11057, or 11058 of the Health and Safety Code.
  (4) Any defendant who refuses drug treatment as a condition of probation.
  (5) Any defendant who has two separate convictions for nonviolent drug possession offenses, has participated in two separate courses of drug treatment pursuant to subdivision (a), and is found by the court, by clear and convincing evidence, to be unamenable to any and all forms of available drug treatment, as defined in subdivision (b) of Section 1210. Notwithstanding any other provision of law, the trial court shall sentence that defendant to 30 days in jail.
  (c) (1) Any defendant who has previously been convicted of at least three non-drug-related felonies for which the defendant has served three separate prison terms within the meaning of subdivision (b) of Section 667.5 shall be presumed eligible for treatment under subdivision (a). The court may exclude the defendant from treatment under subdivision (a) where the court, pursuant to the motion of the prosecutor or its own motion, finds that the defendant poses a present danger to the safety of others and would not benefit from a drug treatment program. The court shall, on the record, state its findings, the reasons for those findings.
  (2) Any defendant who has previously been convicted of a misdemeanor or felony at least five times within the prior 30 months shall be presumed to be eligible for treatment under subdivision (a). The court may exclude the defendant from treatment under subdivision (a) if the court, pursuant to the motion of the prosecutor, or on its own motion, finds that the defendant poses a present danger to the safety of others or would not benefit from a drug treatment program. The court shall, on the record, state its findings and the reasons for those findings.
  (d) Within seven days of an order imposing probation under subdivision (a), the probation department shall notify the drug treatment provider designated to provide drug treatment under subdivision (a). Within 30 days of receiving that notice, the treatment provider shall prepare a treatment plan and forward it to the probation department for distribution to the court and counsel. The treatment provider shall provide to the probation department standardized treatment progress reports, with minimum data elements as determined by the department, including all drug testing results. At a minimum, the reports shall be provided to the court every 90 days, or more frequently, as the court directs.
  (1) If at any point during the course of drug treatment the treatment provider notifies the probation department and the court that the defendant is unamenable to the drug treatment being provided, but may be amenable to other drug treatments or related programs, the probation department may move the court to modify the terms of probation, or on its own motion, the court may modify the terms of probation after a hearing to ensure that the defendant receives the alternative drug treatment or program.
  (2) If at any point during the course of drug treatment the treatment provider notifies the probation department and the court that the defendant is unamenable to the drug treatment provided and all other forms of drug treatment programs pursuant to subdivision (b) of Section 1210, the probation department may move to revoke probation. At the revocation hearing, if it is proved that the defendant is unamenable to all drug treatment programs pursuant to subdivision (b) of Section 1210, the court may revoke probation.
  (3) Drug treatment services provided by subdivision (a) as a required condition of probation may not exceed 12 months, unless the court makes a finding supported by the record, that the continuation of treatment services beyond 12 months is necessary for drug treatment to be successful. If that finding is made, the court may order up to two six-month extensions of treatment services. The provision of treatment services under the Substance Abuse and Crime Prevention Act of 2000 shall not exceed 24 months.
  (e) (1) At any time after completion of drug treatment and the terms of probation, the court shall conduct a hearing, and if the court finds that the defendant successfully completed drug treatment, and substantially complied with the conditions of probation, including refraining from the use of drugs after the completion of treatment, the conviction on which the probation was based shall be set aside and the court shall dismiss the indictment, complaint, or information against the defendant. In addition, except as provided in paragraphs (2) and (3), both the arrest and the conviction shall be deemed never to have occurred. The defendant may additionally petition the court for a dismissal of charges at any time after completion of the prescribed course of drug treatment. Except as provided in paragraph (2) or (3), the defendant shall thereafter be released from all penalties and disabilities resulting from the offense of which he or she has been convicted.
  (2) Dismissal of an indictment, complaint, or information pursuant to paragraph (1) does not permit a person to own, possess, or have in his or her custody or control any firearm capable of being concealed upon the person or prevent his or her conviction under Chapter 2 (commencing with Section 29800) of Division 9 of Title 4 of Part 6.
  (3) Except as provided below, after an indictment, complaint, or information is dismissed pursuant to paragraph (1), the defendant may indicate in response to any question concerning his or her prior criminal record that he or she was not arrested or convicted for the offense. Except as provided below, a record pertaining to an arrest or conviction resulting in successful completion of a drug treatment program under this section may not, without the defendant's consent, be used in any way that could result in the denial of any employment, benefit, license, or certificate. Regardless of his or her successful completion of drug treatment, the arrest and conviction on which the probation was based may be recorded by the Department of Justice and disclosed in response to any peace officer application request or any law enforcement inquiry. Dismissal of an information, complaint, or indictment under this section does not relieve a defendant of the obligation to disclose the arrest and conviction in response to any direct question contained in any questionnaire or application for public office, for a position as a peace officer as defined in Section 830, for licensure by any state or local agency, for contracting with the California State Lottery, or for purposes of serving on a jury.
  (f) (1) If probation is revoked pursuant to the provisions of this subdivision, the defendant may be incarcerated pursuant to otherwise applicable law without regard to the provisions of this section. The court may modify or revoke probation if the alleged violation is proved.
  (2) If a defendant receives probation under subdivision (a), and violates that probation either by committing an offense that is not a nonviolent drug possession offense, or by violating a non-drug-related condition of probation, and the state moves to revoke probation, the court may remand the defendant for a period not exceeding 30 days during which time the court may receive input from treatment, probation, the state, and the defendant, and the court may conduct further hearings as it deems appropriate to determine whether or not probation should be reinstated under this section. If the court reinstates the defendant on probation, the court may modify the treatment plan and any other terms of probation, and continue the defendant in a treatment program under the Substance Abuse and Crime Prevention Act of 2000. If the court reinstates the defendant on probation, the court may, after receiving input from the treatment provider and probation, if available, intensify or alter the treatment plan under subdivision (a), and impose sanctions, including jail sanctions not exceeding 30 days, a tool to enhance treatment compliance.
  (3) (A) If a defendant receives probation under subdivision (a), and violates that probation either by committing a nonviolent drug possession offense, or a misdemeanor for simple possession or use of drugs or drug paraphernalia, being present where drugs are used, or failure to register as a drug offender, or any activity similar to those listed in subdivision (d) of Section 1210, or by violating a drug-related condition of probation, and the state moves to revoke probation, the court shall conduct a hearing to determine whether probation shall be revoked. The trial court shall revoke probation if the alleged probation violation is proved and the state proves by a preponderance of the evidence that the defendant poses a danger to the safety of others. If the court does not revoke probation, it may intensify or alter the drug treatment plan and in addition, if the violation does not involve the recent use of drugs as a circumstance of the violation, including, but not limited to, violations relating to failure to appear at treatment or court, noncompliance with treatment, and failure to report for drug testing, the court may impose sanctions including jail sanctions that may not exceed 48 hours of continuous custody as a tool to enhance treatment compliance and impose other changes in the terms and conditions of probation. The court shall consider, among other factors, the seriousness of the violation, previous treatment compliance, employment, education, vocational training, medical conditions, medical treatment, including narcotics replacement treatment, and including the opinion of the defendant's licensed and treating physician if immediately available and presented at the hearing, child support obligations, and family responsibilities. The court shall consider additional conditions of probation, which may include, but are not limited to, community service and supervised work programs. If one of the circumstances of the violation involves recent drug use, as well as other circumstances of violation, and the circumstance of recent drug use is demonstrated to the court by satisfactory evidence and a finding made on the record, the court may, after receiving input from treatment and probation, if available, direct the defendant to enter a licensed detoxification or residential treatment facility, and if there is no bed immediately available in that type of facility, the court may order that the defendant be confined in a county jail for detoxification purposes only, if the jail offers detoxification services, for a period not to exceed 10 days. The detoxification services must provide narcotic replacement therapy for those defendants presently actually receiving narcotic replacement therapy.
  (B) If a defendant receives probation under subdivision (a), and for the second time violates that probation either by committing a nonviolent drug possession offense, or a misdemeanor for simple possession or use of drugs or drug paraphernalia, being present where drugs are used, or failure to register as a drug offender, or any activity similar to those listed in subdivision (d) of Section 1210, or by violating a drug-related condition of probation, and the state moves to revoke probation, the court shall conduct a hearing to determine whether probation shall be revoked. The trial court shall revoke probation if the alleged probation violation is proved and the state proves by a preponderance of the evidence either that the defendant poses a danger to the safety of others or is unamenable to drug treatment. In determining whether a defendant is unamenable to drug treatment, the court may consider, to the extent relevant, whether the defendant (i) has committed a serious violation of rules at the drug treatment program, (ii) has repeatedly committed violations of program rules that inhibit the defendant's ability to function in the program, or (iii) has continually refused to participate in the program or asked to be removed from the program. If the court does not revoke probation, it may intensify or alter the drug treatment plan, and may, in addition, if the violation does not involve the recent use of drugs as a circumstance of the violation, including, but not limited to, violations relating to failure to appear at treatment or court, noncompliance with treatment, and failure to report for drug testing, impose sanctions including jail sanctions that may not exceed 120 hours of continuous custody as a tool to enhance treatment compliance and impose other changes in the terms and conditions of probation. The court shall consider, among other factors, the seriousness of the violation, previous treatment compliance, employment, education, vocational training, medical conditions, medical treatment, including narcotics replacement treatment, and including the opinion of the defendant's licensed and treating physician if immediately available and presented at the hearing, child support obligations, and family responsibilities. The court shall consider additional conditions of probation, which may include, but are not limited to, community service and supervised work programs. If one of the circumstances of the violation involves recent drug use, as well as other circumstances of violation, and the circumstance of recent drug use is demonstrated to the court by satisfactory evidence and a finding made on the record, the court may, after receiving input from treatment and probation, if available, direct the defendant to enter a licensed detoxification or residential treatment facility, and if there is no bed immediately available in the facility, the court may order that the defendant be confined in a county jail for detoxification purposes only, if the jail offers detoxification services, for a period not to exceed 10 days. Detoxification services must provide narcotic replacement therapy for those defendants presently actually receiving narcotic replacement therapy.
  (C) If a defendant receives probation under subdivision (a), and for the third or subsequent time violates that probation either by committing a nonviolent drug possession offense, or by violating a drug-related condition of probation, and the state moves for a third or subsequent time to revoke probation, the court shall conduct a hearing to determine whether probation shall be revoked. If the alleged probation violation is proved, the defendant is not eligible for continued probation under subdivision (a) unless the court determines that the defendant is not a danger to the community and would benefit from further treatment under subdivision (a). The court may then either intensify or alter the treatment plan under subdivision (a) or transfer the defendant to a highly structured drug court. If the court continues the defendant in treatment under subdivision (a), or drug court, the court may impose appropriate sanctions including jail sanctions as the court deems appropriate.
  (D) If a defendant on probation at the effective date of this act for a nonviolent drug possession offense violates that probation either by committing a nonviolent drug possession offense, or a misdemeanor for simple possession or use of drugs or drug paraphernalia, being present where drugs are used, or failure to register as a drug offender, or any activity similar to those listed in subdivision (d) of Section 1210, or by violating a drug-related condition of probation, and the state moves to revoke probation, the court shall conduct a hearing to determine whether probation shall be revoked. The trial court shall revoke probation if the alleged probation violation is proved and the state proves by a preponderance of the evidence that the defendant poses a danger to the safety of others. If the court does not revoke probation, it may modify or alter the treatment plan, and in addition, if the violation does not involve the recent use of drugs as a circumstance of the violation, including, but not limited to, violations relating to failure to appear at treatment or court, noncompliance with treatment, and failure to report for drug testing, the court may impose sanctions including jail sanctions that may not exceed 48 hours of continuous custody as a tool to enhance treatment compliance and impose other changes in the terms and conditions of probation. The court shall consider, among other factors, the seriousness of the violation, previous treatment compliance, employment, education, vocational training, medical conditions, medical treatment, including narcotics replacement treatment, and including the opinion of the defendant's licensed and treating physician if immediately available and presented at the hearing, child support obligations, and family responsibilities. The court shall consider additional conditions of probation, which may include, but are not limited to, community service and supervised work programs. If one of the circumstances of the violation involves recent drug use, as well as other circumstances of violation, and the circumstance of recent drug use is demonstrated to the court by satisfactory evidence and a finding made on the record, the court may, after receiving input from treatment and probation, if available, direct the defendant to enter a licensed detoxification or residential treatment facility, and if there is no bed immediately available in that type of facility, the court may order that the defendant be confined in a county jail for detoxification purposes only, if the jail offers detoxification services, for a period not to exceed 10 days. The detoxification services must provide narcotic replacement therapy for those defendants presently actually receiving narcotic replacement therapy.
  (E) If a defendant on probation at the effective date of this act for a nonviolent drug possession offense violates that probation a second time either by committing a nonviolent drug possession offense, or a misdemeanor for simple possession or use of drugs or drug paraphernalia, being present where drugs are used, or failure to register as a drug offender, or any activity similar to those listed in subdivision (d) of Section 1210, or by violating a drug-related condition of probation, and the state moves for a second time to revoke probation, the court shall conduct a hearing to determine whether probation shall be revoked. The trial court shall revoke probation if the alleged probation violation is proved and the state proves by a preponderance of the evidence either that the defendant poses a danger to the safety of others or that the defendant is unamenable to drug treatment. If the court does not revoke probation, it may modify or alter the treatment plan, and in addition, if the violation does not involve the recent use of drugs as a circumstance of the violation, including, but not limited to, violations relating to failure to appear at treatment or court, noncompliance with treatment, and failure to report for drug testing, the court may impose sanctions including jail sanctions that may not exceed 120 hours of continuous custody as a tool to enhance treatment compliance and impose other changes in the terms and conditions of probation. The court shall consider, among other factors, the seriousness of the violation, previous treatment compliance, employment, education, vocational training, medical conditions, medical treatment including narcotics replacement treatment, and including the opinion of the defendant's licensed and treating physician if immediately available and presented at the hearing, child support obligations, and family responsibilities. The court shall consider additional conditions of probation, which may include, but are not limited to, community service and supervised work programs. If one of the circumstances of the violation involves recent drug use, as well as other circumstances of violation, and the circumstance of recent drug use is demonstrated to the court by satisfactory evidence and a finding made on the record, the court may, after receiving input from treatment and probation, if available, direct the defendant to enter a licensed detoxification or residential treatment facility, and if there is no bed immediately available in that type of facility, the court may order that the defendant be confined in a county jail for detoxification purposes only, if the jail offers detoxification services, for a period not to exceed 10 days. The detoxification services must provide narcotic replacement therapy for those defendants presently actually receiving narcotic replacement therapy.
  (F) If a defendant on probation at the effective date of this act for a nonviolent drug offense violates that probation a third or subsequent time either by committing a nonviolent drug possession offense, or by violating a drug-related condition of probation, and the state moves for a third or subsequent time to revoke probation, the court shall conduct a hearing to determine whether probation shall be revoked. If the alleged probation violation is proved, the defendant is not eligible for continued probation under subdivision (a), unless the court determines that the defendant is not a danger to the community and would benefit from further treatment under subdivision (a). The court may then either intensify or alter the treatment plan under subdivision (a) or transfer the defendant to a highly structured drug court. If the court continues the defendant in treatment under subdivision (a), or drug court, the court may impose appropriate sanctions including jail sanctions.
  (g) The term "drug-related condition of probation" shall include a probationer's specific drug treatment regimen, employment, vocational training, educational programs, psychological counseling, and family counseling.
In a case where a person has been ordered to undergo drug treatment as a condition of probation, any court ordered drug testing shall be used as a treatment tool. In evaluating a probationer's treatment program, results of any drug testing shall be given no greater weight than any other aspects of the probationer's individual treatment program.