CAL. CCP. CODE § 430.70 : California Code - Section 430.70

When the ground of demurrer is based on a matter of which the court may take judicial notice pursuant to Section 452 or 453 of the Evidence Code, such matter shall be specified in the demurrer, or in the supporting points and authorities for the purpose of invoking such notice, except as the court may otherwise permit.