California
Code of Civil Procedure CCP § 391.7
(b) The presiding justice or presiding judge shall permit the filing of that litigation only if it appears that the litigation has merit and has not been filed for the purposes of harassment or delay. The presiding justice or presiding judge may condition the filing of the litigation upon the furnishing of security for the benefit of the defendants as provided in Section 391.3 .
(c) The clerk may not file any litigation presented by a vexatious litigant subject to a prefiling order unless the vexatious litigant first obtains an order from the presiding justice or presiding judge permitting the filing. If the clerk mistakenly files the litigation without the order, any party may file with the clerk and serve, or the presiding justice or presiding judge may direct the clerk to file and serve, on the plaintiff and other parties a notice stating that the plaintiff is a vexatious litigant subject to a prefiling order as set forth in subdivision (a). The filing of the notice shall automatically stay the litigation. The litigation shall be automatically dismissed unless the plaintiff within 10 days of the filing of that notice obtains an order from the presiding justice or presiding judge permitting the filing of the litigation as set forth in subdivision (b). If the presiding justice or presiding judge issues an order permitting the filing, the stay of the litigation shall remain in effect, and the defendants need not plead, until 10 days after the defendants are served with a copy of the order.
(d) For purposes of this section, “litigation” includes any petition, application, or motion other than a discovery motion, in a proceeding under the Family Code or Probate Code, for any order.
(e) The presiding justice or presiding judge of a court may designate a justice or judge of the same court to act on his or her behalf in exercising the authority and responsibilities provided under subdivisions (a) to (c), inclusive.
(f) The clerk of the court shall provide the Judicial Council a copy of any prefiling orders issued pursuant to subdivision (a). The Judicial Council shall maintain a record of vexatious litigants subject to those prefiling orders and shall annually disseminate a list of those persons to the clerks of the courts of this state.