How about CVC 12951?
12951. (a) The licensee shall have the valid driver's license
issued to him or her in his or her immediate possession at all times
when driving a motor vehicle upon a highway.
Any charge under this subdivision shall be dismissed when the
person charged produces in court a driver's license duly issued to
that person and valid at the time of his or her arrest, except that
upon a third or subsequent charge the court in its discretion may
dismiss the charge. When a temporary, interim, or duplicate driver's
license is produced in court, the charge shall not be dismissed
unless the court has been furnished proof by the Department of Motor
Vehicles that the temporary, interim, or duplicate license was issued
prior to the arrest, that the driving privilege and license had not
been suspended or revoked, and that the person was eligible for the
temporary, interim, or duplicate license.
(b) The driver of a motor vehicle shall present his or her license
for examination upon demand of a peace officer enforcing the
provisions of this code.
You must only have your DL/OL on your person when operating a motor vehicle, or other vehicle in which a license is required by law (electric GEM Neighborhood Electric Vehicle's for instance, motorized bicycles, mopeds, etc.). Having your "papers" or DL on your person while out and about for a walk is not required, ever since the Supreme Court struck down California's Penal Code Section 647(e), which had similar wording to the case decision in Nevada Vs. Hiibel.
HOWEVER, this does not change the fact that you are legally required to identify your self or provide satisfactory evidence of identity should you be lawfully detained under any circumstance. ANY CIRCUMSTANCE. Being at a bar during a crime or bar fight- yes, legally detained pending the investigation to determine injuries, crimes, extent of injuries, and people's involvement in the crime. That can take a while as the scene is dynamic and chaotic.
Reliance on law enforcement databases to confirm your identity from name/dob/etc information YOU provide is not sufficient and is simply a matter of convenience should that law enforcement officer have access to a working in-vehicle computer that can access DMV/MVA datsabases that will produce a photograph and identifying information (height/weight/age/etc.) to confirm the info you provide verbally. Just providing it to a Park Range that can't do that, is NOT sufficient proof of identity should you be detained. A traffic stop, even if YOU ARE NOT DRIVING is still a lawful detention.
As a refresher- a lawful detention is when a police officer can articulate a reasonable suspicion that ANY crime (including a traffic infraction or minor municipal code) has occurred, is occurring, or about to occur and the person detained MAY be involved. Not PROBABLY, not DEFINITELY, but simply MAY.
If you disagree that you are being lawfully detained, your recourse is NOT TO RESIST OR BE A YOUTUBE OR CURBSIDE LAWYER. Your lawful recourse is civil suit after the fact. That is how people end up injured or dead.
A police officer is entitled, and in fact obligated, to use the reasonable amount of force necessary to effect a lawful detention, arrest, prevent escape or overcome resistance (or restore order to a custody facility).
If you blow off a cop who is ordering or directing you to do something, expect to be physically restrained, batoned or tased to effect that lawful detention. The definition of lawful is that which is viewed through a lens that the police officer believes is reasonable based on their articuable training and experience, per 1989's U. S. Supreme Court decision in Graham vs Connor. NOT ON YOUR OPINION OR KNOWLEDGE OF WHAT IS OCCURRING?
Food for thought for the rebels amongst us.