This chapter does not apply to officers of a court when they are acting within the scope of their office.

(Added by Stats. 1939, Ch. 37.)