California 2017-2018 Regular Session

California Assembly Bill AB1693 Compare Versions

OldNewDifferences
1-Assembly Bill No. 1693 CHAPTER 131 An act to amend Sections 387, 1032, and 1038 of the Code of Civil Procedure, relating to civil procedure. [ Approved by Governor July 24, 2017. Filed with Secretary of State July 24, 2017. ] LEGISLATIVE COUNSEL'S DIGESTAB 1693, Committee on Judiciary. Civil actions: intervention.Under existing law, any person who has an interest in a matter in litigation, or in the success of either of the parties, or an interest against both, may intervene in the action or proceeding. Existing law provides that a third person may become a party to an action or proceeding between other persons, either by joining the plaintiff in claiming what is sought by the complaint, uniting with the defendant in resisting the claims of the plaintiff, or demanding anything adversely to both the plaintiff and the defendant, by filing a complaint setting forth the grounds upon which the intervention rests, as specified.This bill would require that a nonparty seeking to intervene in an action or proceeding, deemed the intervenor, petition the court for leave to intervene by noticed motion or ex parte application setting forth the grounds upon which the intervention rests, and would require the intervenor to include a copy of the proposed complaint in intervention or answer in intervention with the petition. If leave to intervene is granted by the court, the bill would also require the intervenor to serve the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention on all other parties in the action or proceeding, as specified. The bill would also recast some provisions of existing law and make conforming changes to other provisions of law.Digest Key Vote: MAJORITY Appropriation: NO Fiscal Committee: NO Local Program: NO Bill TextThe people of the State of California do enact as follows:SECTION 1. Section 387 of the Code of Civil Procedure is amended to read:387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.SEC. 2. Section 1032 of the Code of Civil Procedure is amended to read:1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.SEC. 3. Section 1038 of the Code of Civil Procedure is amended to read:1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
1+Enrolled July 11, 2017 Passed IN Senate July 03, 2017 Passed IN Assembly July 10, 2017 Amended IN Senate June 12, 2017 CALIFORNIA LEGISLATURE 20172018 REGULAR SESSION Assembly Bill No. 1693Introduced by Committee on Judiciary (Assembly Members Mark Stone (Chair), Chau, Chiu, Cristina Garcia, Holden, Kalra, Reyes, and Ting)February 27, 2017 An act to amend Sections 387, 1032, and 1038 of the Code of Civil Procedure, relating to civil procedure. LEGISLATIVE COUNSEL'S DIGESTAB 1693, Committee on Judiciary. Civil actions: intervention.Under existing law, any person who has an interest in a matter in litigation, or in the success of either of the parties, or an interest against both, may intervene in the action or proceeding. Existing law provides that a third person may become a party to an action or proceeding between other persons, either by joining the plaintiff in claiming what is sought by the complaint, uniting with the defendant in resisting the claims of the plaintiff, or demanding anything adversely to both the plaintiff and the defendant, by filing a complaint setting forth the grounds upon which the intervention rests, as specified.This bill would require that a nonparty seeking to intervene in an action or proceeding, deemed the intervenor, petition the court for leave to intervene by noticed motion or ex parte application setting forth the grounds upon which the intervention rests, and would require the intervenor to include a copy of the proposed complaint in intervention or answer in intervention with the petition. If leave to intervene is granted by the court, the bill would also require the intervenor to serve the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention on all other parties in the action or proceeding, as specified. The bill would also recast some provisions of existing law and make conforming changes to other provisions of law.Digest Key Vote: MAJORITY Appropriation: NO Fiscal Committee: NO Local Program: NO Bill TextThe people of the State of California do enact as follows:SECTION 1. Section 387 of the Code of Civil Procedure is amended to read:387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.SEC. 2. Section 1032 of the Code of Civil Procedure is amended to read:1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.SEC. 3. Section 1038 of the Code of Civil Procedure is amended to read:1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
22
3- Assembly Bill No. 1693 CHAPTER 131 An act to amend Sections 387, 1032, and 1038 of the Code of Civil Procedure, relating to civil procedure. [ Approved by Governor July 24, 2017. Filed with Secretary of State July 24, 2017. ] LEGISLATIVE COUNSEL'S DIGESTAB 1693, Committee on Judiciary. Civil actions: intervention.Under existing law, any person who has an interest in a matter in litigation, or in the success of either of the parties, or an interest against both, may intervene in the action or proceeding. Existing law provides that a third person may become a party to an action or proceeding between other persons, either by joining the plaintiff in claiming what is sought by the complaint, uniting with the defendant in resisting the claims of the plaintiff, or demanding anything adversely to both the plaintiff and the defendant, by filing a complaint setting forth the grounds upon which the intervention rests, as specified.This bill would require that a nonparty seeking to intervene in an action or proceeding, deemed the intervenor, petition the court for leave to intervene by noticed motion or ex parte application setting forth the grounds upon which the intervention rests, and would require the intervenor to include a copy of the proposed complaint in intervention or answer in intervention with the petition. If leave to intervene is granted by the court, the bill would also require the intervenor to serve the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention on all other parties in the action or proceeding, as specified. The bill would also recast some provisions of existing law and make conforming changes to other provisions of law.Digest Key Vote: MAJORITY Appropriation: NO Fiscal Committee: NO Local Program: NO
3+ Enrolled July 11, 2017 Passed IN Senate July 03, 2017 Passed IN Assembly July 10, 2017 Amended IN Senate June 12, 2017 CALIFORNIA LEGISLATURE 20172018 REGULAR SESSION Assembly Bill No. 1693Introduced by Committee on Judiciary (Assembly Members Mark Stone (Chair), Chau, Chiu, Cristina Garcia, Holden, Kalra, Reyes, and Ting)February 27, 2017 An act to amend Sections 387, 1032, and 1038 of the Code of Civil Procedure, relating to civil procedure. LEGISLATIVE COUNSEL'S DIGESTAB 1693, Committee on Judiciary. Civil actions: intervention.Under existing law, any person who has an interest in a matter in litigation, or in the success of either of the parties, or an interest against both, may intervene in the action or proceeding. Existing law provides that a third person may become a party to an action or proceeding between other persons, either by joining the plaintiff in claiming what is sought by the complaint, uniting with the defendant in resisting the claims of the plaintiff, or demanding anything adversely to both the plaintiff and the defendant, by filing a complaint setting forth the grounds upon which the intervention rests, as specified.This bill would require that a nonparty seeking to intervene in an action or proceeding, deemed the intervenor, petition the court for leave to intervene by noticed motion or ex parte application setting forth the grounds upon which the intervention rests, and would require the intervenor to include a copy of the proposed complaint in intervention or answer in intervention with the petition. If leave to intervene is granted by the court, the bill would also require the intervenor to serve the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention on all other parties in the action or proceeding, as specified. The bill would also recast some provisions of existing law and make conforming changes to other provisions of law.Digest Key Vote: MAJORITY Appropriation: NO Fiscal Committee: NO Local Program: NO
4+
5+ Enrolled July 11, 2017 Passed IN Senate July 03, 2017 Passed IN Assembly July 10, 2017 Amended IN Senate June 12, 2017
6+
7+Enrolled July 11, 2017
8+Passed IN Senate July 03, 2017
9+Passed IN Assembly July 10, 2017
10+Amended IN Senate June 12, 2017
11+
12+ CALIFORNIA LEGISLATURE 20172018 REGULAR SESSION
413
514 Assembly Bill No. 1693
6-CHAPTER 131
15+
16+Introduced by Committee on Judiciary (Assembly Members Mark Stone (Chair), Chau, Chiu, Cristina Garcia, Holden, Kalra, Reyes, and Ting)February 27, 2017
17+
18+Introduced by Committee on Judiciary (Assembly Members Mark Stone (Chair), Chau, Chiu, Cristina Garcia, Holden, Kalra, Reyes, and Ting)
19+February 27, 2017
720
821 An act to amend Sections 387, 1032, and 1038 of the Code of Civil Procedure, relating to civil procedure.
9-
10- [ Approved by Governor July 24, 2017. Filed with Secretary of State July 24, 2017. ]
1122
1223 LEGISLATIVE COUNSEL'S DIGEST
1324
1425 ## LEGISLATIVE COUNSEL'S DIGEST
1526
1627 AB 1693, Committee on Judiciary. Civil actions: intervention.
1728
1829 Under existing law, any person who has an interest in a matter in litigation, or in the success of either of the parties, or an interest against both, may intervene in the action or proceeding. Existing law provides that a third person may become a party to an action or proceeding between other persons, either by joining the plaintiff in claiming what is sought by the complaint, uniting with the defendant in resisting the claims of the plaintiff, or demanding anything adversely to both the plaintiff and the defendant, by filing a complaint setting forth the grounds upon which the intervention rests, as specified.This bill would require that a nonparty seeking to intervene in an action or proceeding, deemed the intervenor, petition the court for leave to intervene by noticed motion or ex parte application setting forth the grounds upon which the intervention rests, and would require the intervenor to include a copy of the proposed complaint in intervention or answer in intervention with the petition. If leave to intervene is granted by the court, the bill would also require the intervenor to serve the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention on all other parties in the action or proceeding, as specified. The bill would also recast some provisions of existing law and make conforming changes to other provisions of law.
1930
2031 Under existing law, any person who has an interest in a matter in litigation, or in the success of either of the parties, or an interest against both, may intervene in the action or proceeding. Existing law provides that a third person may become a party to an action or proceeding between other persons, either by joining the plaintiff in claiming what is sought by the complaint, uniting with the defendant in resisting the claims of the plaintiff, or demanding anything adversely to both the plaintiff and the defendant, by filing a complaint setting forth the grounds upon which the intervention rests, as specified.
2132
2233 This bill would require that a nonparty seeking to intervene in an action or proceeding, deemed the intervenor, petition the court for leave to intervene by noticed motion or ex parte application setting forth the grounds upon which the intervention rests, and would require the intervenor to include a copy of the proposed complaint in intervention or answer in intervention with the petition. If leave to intervene is granted by the court, the bill would also require the intervenor to serve the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention on all other parties in the action or proceeding, as specified. The bill would also recast some provisions of existing law and make conforming changes to other provisions of law.
2334
2435 ## Digest Key
2536
2637 ## Bill Text
2738
2839 The people of the State of California do enact as follows:SECTION 1. Section 387 of the Code of Civil Procedure is amended to read:387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.SEC. 2. Section 1032 of the Code of Civil Procedure is amended to read:1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.SEC. 3. Section 1038 of the Code of Civil Procedure is amended to read:1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
2940
3041 The people of the State of California do enact as follows:
3142
3243 ## The people of the State of California do enact as follows:
3344
3445 SECTION 1. Section 387 of the Code of Civil Procedure is amended to read:387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.
3546
3647 SECTION 1. Section 387 of the Code of Civil Procedure is amended to read:
3748
3849 ### SECTION 1.
3950
4051 387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.
4152
4253 387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.
4354
4455 387. (a) For purposes of this section:(1) Defendant includes a cross-defendant.(2) Plaintiff includes a cross-complainant.(b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:(1) Joining a plaintiff in claiming what is sought by the complaint.(2) Uniting with a defendant in resisting the claims of a plaintiff.(3) Demanding anything adverse to both a plaintiff and a defendant.(c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.(d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:(A) A provision of law confers an unconditional right to intervene. (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.(2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.(e) If leave to intervene is granted by the court, the intervenor shall do both of the following:(1) Separately file the complaint in intervention, answer in intervention, or both.(2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:(A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.(B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.(f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.
4556
4657
4758
4859 387. (a) For purposes of this section:
4960
5061 (1) Defendant includes a cross-defendant.
5162
5263 (2) Plaintiff includes a cross-complainant.
5364
5465 (b) An intervention takes place when a nonparty, deemed an intervenor, becomes a party to an action or proceeding between other persons by doing any of the following:
5566
5667 (1) Joining a plaintiff in claiming what is sought by the complaint.
5768
5869 (2) Uniting with a defendant in resisting the claims of a plaintiff.
5970
6071 (3) Demanding anything adverse to both a plaintiff and a defendant.
6172
6273 (c) A nonparty shall petition the court for leave to intervene by noticed motion or ex parte application. The petition shall include a copy of the proposed complaint in intervention or answer in intervention and set forth the grounds upon which intervention rests.
6374
6475 (d) (1) The court shall, upon timely application, permit a nonparty to intervene in the action or proceeding if either of the following conditions is satisfied:
6576
6677 (A) A provision of law confers an unconditional right to intervene.
6778
6879 (B) The person seeking intervention claims an interest relating to the property or transaction that is the subject of the action and that person is so situated that the disposition of the action may impair or impede that persons ability to protect that interest, unless that persons interest is adequately represented by one or more of the existing parties.
6980
7081 (2) The court may, upon timely application, permit a nonparty to intervene in the action or proceeding if the person has an interest in the matter in litigation, or in the success of either of the parties, or an interest against both.
7182
7283 (e) If leave to intervene is granted by the court, the intervenor shall do both of the following:
7384
7485 (1) Separately file the complaint in intervention, answer in intervention, or both.
7586
7687 (2) Serve a copy of the order, or notice of the courts decision or order, granting leave to intervene and the pleadings in intervention as follows:
7788
7889 (A) A party to the action or proceeding who has not yet appeared shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2.
7990
8091 (B) A party who has appeared in the action or proceeding, whether represented by an attorney or not represented by an attorney, shall be served in the same manner for service of summons pursuant to Article 3 (commencing with Section 415.10) of Chapter 4 of Title 5 of Part 2, or in the manner provided by Chapter 5 (commencing with Section 1010) of Title 14 of Part 2.
8192
8293 (f) Within 30 days after service of a complaint in intervention or answer in intervention, a party may move, demur, or otherwise plead to the complaint in intervention or answer in intervention in the same manner as to an original complaint or answer.
8394
8495 SEC. 2. Section 1032 of the Code of Civil Procedure is amended to read:1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.
8596
8697 SEC. 2. Section 1032 of the Code of Civil Procedure is amended to read:
8798
8899 ### SEC. 2.
89100
90101 1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.
91102
92103 1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.
93104
94105 1032. (a) As used in this section, unless the context clearly requires otherwise:(1) Complaint includes a cross-complaint.(2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.(3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.(4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.(b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.(c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.
95106
96107
97108
98109 1032. (a) As used in this section, unless the context clearly requires otherwise:
99110
100111 (1) Complaint includes a cross-complaint.
101112
102113 (2) Defendant includes a cross-defendant, a person against whom a complaint is filed, or a party who files an answer in intervention.
103114
104115 (3) Plaintiff includes a cross-complainant or a party who files a complaint in intervention.
105116
106117 (4) Prevailing party includes the party with a net monetary recovery, a defendant in whose favor a dismissal is entered, a defendant where neither plaintiff nor defendant obtains any relief, and a defendant as against those plaintiffs who do not recover any relief against that defendant. If any party recovers other than monetary relief and in situations other than as specified, the prevailing party shall be as determined by the court, and under those circumstances, the court, in its discretion, may allow costs or not and, if allowed, may apportion costs between the parties on the same or adverse sides pursuant to rules adopted under Section 1034.
107118
108119 (b) Except as otherwise expressly provided by statute, a prevailing party is entitled as a matter of right to recover costs in any action or proceeding.
109120
110121 (c) Nothing in this section shall prohibit parties from stipulating to alternative procedures for awarding costs in the litigation pursuant to rules adopted under Section 1034.
111122
112123 SEC. 3. Section 1038 of the Code of Civil Procedure is amended to read:1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
113124
114125 SEC. 3. Section 1038 of the Code of Civil Procedure is amended to read:
115126
116127 ### SEC. 3.
117128
118129 1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
119130
120131 1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
121132
122133 1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.(b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.(c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.(d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.
123134
124135
125136
126137 1038. (a) In any civil proceeding under the Government Claims Act (Division 3.6 (commencing with Section 810) of Title 1 of the Government Code) or for express or implied indemnity or for contribution in any civil action, the court, upon motion of the defendant or cross-defendant, shall, at the time of the granting of any summary judgment, motion for directed verdict, motion for judgment under Section 631.8, or any nonsuit dismissing the moving party other than the plaintiff, petitioner, cross-complainant, or intervenor, or at a later time set forth by rule of the Judicial Council adopted under Section 1034, determine whether or not the plaintiff, petitioner, cross-complainant, or intervenor brought the proceeding with reasonable cause and in the good faith belief that there was a justifiable controversy under the facts and law which warranted the filing of the complaint, petition, cross-complaint, or complaint or answer in intervention. If the court should determine that the proceeding was not brought in good faith and with reasonable cause, an additional issue shall be decided as to the defense costs reasonably and necessarily incurred by the party or parties opposing the proceeding, and the court shall render judgment in favor of that party in the amount of all reasonable and necessary defense costs, in addition to those costs normally awarded to the prevailing party. An award of defense costs under this section shall not be made except on notice contained in a partys papers and an opportunity to be heard.
127138
128139 (b) Defense costs, as used in this section, shall include reasonable attorneys fees, expert witness fees, the expense of services of experts, advisers, and consultants in defense of the proceeding, and where reasonably and necessarily incurred in defending the proceeding.
129140
130141 (c) This section shall be applicable only on motion made before the discharge of the jury or entry of judgment, and any party requesting the relief pursuant to this section waives any right to seek damages for malicious prosecution. Failure to make the motion shall not be deemed a waiver of the right to pursue a malicious prosecution action.
131142
132143 (d) This section shall only apply if the defendant or cross-defendant has made a motion for summary judgment, judgment under Section 631.8, directed verdict, or nonsuit and the motion is granted.