Cal. Pub. Res. Code § 8507
Nothing in this article shall be construed to prohibit free transit over and rights in the public domain where such are provided by the acts of Congress.