The provisions of this article except for Section 7355 shall not apply to any patient held upon an order of a court or judge in a proceeding arising out of a criminal action.

(Amended by Stats. 1978, Ch. 1291.)