Cal. Civ. Proc. Code § 116.370
(c) In all cases, including those in which the defendant does not either challenge venue or court location or appear at the hearing, the court shall inquire into the facts sufficiently to determine whether venue and court location are proper, and shall make its determination accordingly.