Cal. Civ. Proc. Code § 116.530
(b) Subdivision (a) does not apply if the attorney is appearing to maintain or defend an action in any of the following capacities:
(c) Nothing in this section shall prevent an attorney from doing any of the following: