Section 25400 does not apply to, or affect, the transportation of a firearm by a person when going directly to, or coming directly from, a target range, which holds a regulatory or business license, for the purposes of practicing shooting at targets with that firearm at that target range.
Ca. Pen. Code § 25540