Opinion
Oscar Ramirez was charged with carrying a concealed firearm (count 1) and carrying a loaded and unregistered firearm (count 2), with allegations that the offenses were committed for the benefit of a criminal street gang. (Pen. Code, §§ 12025, subd. (a)(2), 12031, subd. (a)(1), 186.22, subd. (b)(1)(A).) Ramirez moved unsuccessfully to suppress evidence (the firearm), and he then entered a no contest plea to count 1 and admitted the gang enhancement. Count 2 was dismissed and probation was granted. Ramirez appeals, claiming the officer lacked probable cause to stop him and that his suppression motion should have been granted. We agree and therefore reverse the judgment.
DISCUSSION
A.
As a police officer watched from his patrol car, Ramirez crossed diagonally at the intersection of Blackwelder and Cloverdale, walking toward the patrol *852 car as it approached the intersection and then stopped at a stop sign. From previous contacts, the officer knew Ramirez (who had been the victim of a shooting) and knew he lived on a comer of the intersection he was crossing. The officer concluded that Ramirez was a “pedestrian in a roadway” and thus in violation of Vehicle Code section 21954, subdivision (a). 1 When Ramirez was within a few feet of the front of the patrol car, he looked at the officer, then turned and started back across the street toward his house.
The officer drove his patrol car up to Ramirez, and said, “Oscar. Hey, hold on. I want to talk to you.” When Ramirez stopped, the officer told him to put his hands on top of his head. As the officer was getting out of his car, Ramirez turned and ran—but was stopped within two or three feet, at which time he was asked if he “had anything on him.” Ramirez said he had a gun in his pocket, which the officer retrieved. Ramirez was arrested and charged as noted above.
B.
Ramirez contends the officer lacked probable cause to stop him for a violation of section 21954 (or for any other reason). We agree.
The fact that Ramirez was not in a crosswalk while a car was on the roadway does not mean he was crossing in violation of section 21954, subdivision (a), only that he was required to use a high degree of care
(Woods v. Eitze
(1949)
*853
With one exception, the cases interpreting subdivision (a) of section 21954 (as illustrated by those cited in the preceding paragraph) arise in the civil context. The one criminal case is
People
v.
McNeil
(2002)
C.
We have a different question in our case, and that is whether the officer’s reliance on section 21954, subdivision (a), was anything more than an impermissible ruse to stop and search Ramirez. We see only a subterfuge, and no legal basis for the stop.
For purposes of the Fourth Amendment, Ramirez’s detention was proper only if the officer in fact had a reasonable and articulable suspicion that Ramirez was a “pedestrian upon a roadway at a[] point other than within a marked crosswalk or within an unmarked crosswalk at an intersection [and did not] yield the right-of-way to all vehicles upon the roadway so near as to constitute an immediate hazard.” (§ 21954, subd. (a);
Wilson
v.
Superior Court
(1983) 34 Cal.3d
111,
784 [
What did the officer see? A man crossing an intersection diagonally who was already three-quarters of the way from one side of the street to the *854 other. There was no crosswalk, but the intersection was controlled by four-way stop signs, and the only visible vehicle was the officer’s patrol car, which not even the officer suggested posed an “immediate hazard” to either Ramirez or the officer or his vehicle or anyone else. In short, there was no violation of section 21954, subdivision (a), and there is no way that the officer could have believed there was a violation.
We dismiss as wishful thinking the Attorney General’s erroneous assertion that Ramirez crossed “directly in front of an oncoming vehicle,” failed to yield the right-of-way, and created “an immediate hazard”—because the record shows just the opposite. The officer himself testified that he was approaching the intersection (and therefore the stop sign) when he first saw Ramirez crossing diagonally toward the patrol car, and that Ramirez then turned around and went back the other way. There were no other cars driving on the street, and the officer testified that Ramirez was “not impeding” his way. If anyone was “impeding” anyone else, it was the officer—who pulled his patrol car into the intersection and stopped to talk to Ramirez. It follows, then, that we also reject the Attorney General’s reliance on
People v. Allen
(1980)
It follows that Ramirez’s motion to suppress should have been granted and that he must be allowed to withdraw his no contest plea. Aside from the fact that the error is by its nature prejudicial, the concept of harmless error is irrelevant where, as here, a defendant pleads guilty or no contest after the erroneous denial of his suppression motion.
(People v. Ruggles
(1985)
*855 DISPOSITION
The judgment is reversed and the cause is remanded with directions to the trial court (1) to vacate its order denying Ramirez’s suppression motion and enter a new order granting the motion; (2) to permit Ramirez to withdraw his guilty plea; (3) to determine whether the People intend to retry the case; and (4) to make such other orders as are necessary and appropriate.
Spencer, P. J., and Rothschild, J., concurred.
A petition for a rehearing was denied July 19, 2006.
Notes
All further section references are to the Vehicle Code. Section 21954, subdivision (a), provides: “Every pedestrian upon a roadway at any point other than within a marked crosswalk or within an unmarked crosswalk at an intersection shall yield the right-of-way to all vehicles upon the roadway so near as to constitute an immediate hazard.”
