In all of these instances, the provisions of Section 847 shall apply. These investigators and law enforcement officers, prior to the exercise of these arrest powers, shall have been certified by their agency heads as having satisfied the training requirements of Section 832, or the equivalent thereof.
This subdivision does not apply to federal officers of the Bureau of Land Management or the United States Forest Service. These officers have no authority to enforce California statutes without the written consent of the sheriff or the chief of police in whose jurisdiction they are assigned.
Ca. Pen. Code § 830.8