*85Defendant Leroy Wallace III seeks reversal of the judgment against him for possession of a baton or similar weapon in violation of Penal Code section 22210,
BACKGROUND
In March 2015, the Solano County District Attorney filed an information charging defendant with possession of a baton in violation of section 22210, which prohibits possession of "any instrument or weapon of the kind commonly known as a billy, blackjack, sandbag, sandclub, sap, or slingshot." In June 2015, defendant moved under section 1538.5 to suppress evidence of the baton and other evidence relating to it. In November 2015, the court, a magistrate presiding, held a preliminary hearing at which the court also considered defendant's motion.
At the hearing, the officer who arrested defendant, Michael Ambrose of the Fairfield Police Department, was the only person who testified. Officer *86Ambrose said that at 9:47 a.m. on March 18, 2015, he heard defendant's name broadcast over the police radio as someone stopped by another officer, Sergeant Reeves, in Fairfield for having "false tabs" on his vehicle. Ambrose knew defendant was wanted for a domestic violence incident that had occurred a night or two before. Ambrose went to the traffic stop and spoke to Reeves by Reeves's own vehicle. The two then went up to defendant's vehicle, removed defendant from the vehicle, placed him in handcuffs and searched his person. Asked what happened next, Ambrose said, "I then put [defendant] in the back of my vehicle, and went back and searched his vehicle."
In response to the prosecutor's further questioning, Ambrose testified no one else was in defendant's vehicle and no one was in the area to take custody of defendant's vehicle. He further testified that the Fairfield Police Department had a policy that required officers to have a vehicle towed and inventoried when no one was present to take custody of it. Asked if this was the situation in defendant's case, Ambrose replied, "In this case, the subject also had no license, ... and Sergeant Reeves was citing him for that as well. So there was [sic ] a couple of different reasons to get in and search his vehicle: One being inventory search, and one being incident to the arrest that I was making."
Ambrose also testified that the purpose of the department's inventory search policy was "to ensure if there is [sic ] any items of high value in the vehicle, that we are to note them-or, actually, take and put them into our custody for safekeeping, just so that when the vehicle is towed, it's not going to possibly become missing. [¶] Or the defendant or the person who the vehicle is being towed is not going to be able to come back and say, 'I had $1,000,000 in the trunk, and it's missing now, so, therefore, the Fairfield Police Department owes me money.' "
Ambrose then said he searched defendant's vehicle after placing defendant in the back of the patrol car: "I went up to *799the vehicle. I started on the open driver's side door that was still open from when I removed him. I started to go into the vehicle, and as I did, I noticed a red handle sticking up between the center console and the driver's seat. [¶] I reached down and pulled out, from grabbing the handle that was exposed, about a 24-inch long brown wooden baton with red tape on the end where the handle would be." He saw the red handle of the baton when he "actually entered the vehicle." Ambrose did not see any non-violent purpose for the baton, particularly in light of the red tape handgrip that prevented the baton from slipping when swung. He considered the baton to be a deadly weapon based on his training and experience, and its presence in the vehicle was an additional basis for his arrest of defendant. After finding the baton, Ambrose said, he continued to search the vehicle. He did not locate anything of value. *87Ambrose further testified that he was not sure if defendant's vehicle was towed or not because he left with defendant while Reeves stayed behind with the vehicle. Ambrose said it was standard procedure to fill out a "California Highway Patrol 180 Form" (CHP 180 form) if a vehicle was towed, and acknowledged that the form contained a field in which one could inventory the items that were found in the towed vehicle. However, he said, he had nothing to do with the traffic stop or anything to do with filling out such a form, if one was filled out. He also testified that he did not note in his own police report what kind of vehicle defendant was driving because "[t]he vehicle had nothing to do with why I was there."
After hearing argument, the court denied defendant's suppression motion. It stated about Ambrose's search of defendant's vehicle, "This was not a search incident to an arrest; it was a search that [was] based upon the normal practice to once this individual was taken into custody on the serious charge of the violation of domestic violence, to inventory his car and his car be[ing] towed.
"Officer Ambrose was arresting him for the circumstances that he discovered once the object was seen, and it wasn't his responsibility to tow the vehicle; it was to take [defendant] into custody. And what happened to the vehicle and the circumstances afterwards is not really known as a process as much as whether or not he had a basis to be where he was when he saw that object that he did; and therefore, the motion to suppress is denied.
"It was part of the community caretaking function when this person was placed under arrest, to inventory the vehicle and prepare it for towing so that the officer and the agency doesn't incur any other liability."
Subsequently, defendant moved under sections 995 and 1538.5, subdivision (i) to set aside the information on the ground that his motion to suppress should have been granted. The People opposed the motion. After hearing argument, the trial court denied the motion "because of the inventory search." The court explained further, "Officer Ambrose articulated the policy, articulated the reason. The defendant was the sole occupant of the car. He had no license. He was being arrested. The officer articulated the community caretaking policy, if you will. And you know, by denying the motion to suppress, the magistrate found that the officer's conduct was subjectively non-pretextual. So there is substantial evidence in the record to support that finding by the magistrate." The court continued, "And we don't have evidence one way or the other as to whether or not the inventory search was actually performed, but the decision to conduct it on the car initially was reasonable. [¶] ...
*800And there's no published case, that I'm aware of anyway, that requires that the *88CHP 180 form actually be filled out. I know it's a standard practice, but that doesn't mean without it an inventory search can't be justified. [¶] So the 995 motion is denied."
In May 2016, pursuant to a negotiated disposition, defendant entered a no contest plea to the weapon charge and was convicted on that charge. He preserved his right to raise the denial of his suppression motion on appeal.
The court subsequently sentenced defendant to three years in county jail pursuant to section 1170, subdivision (h). The court ordered that he serve six months in jail and be placed on mandatory supervision under section 1170, subdivision (h)(5) for the remainder of the time. The court also imposed various fees and fines.
Defendant filed a timely appeal based on the court's denial of his suppression motion.
DISCUSSION
Defendant contends we must reverse the judgment because Officer Ambrose's warrantless search of his vehicle violated his constitutional rights against unreasonable search and seizure. He argues the trial court erred in rejecting his suppression motion because there was no evidence that Ambrose's search came within the "inventory search" exception to the constitutional prohibition against warrantless searches. The People assert only that we should affirm the judgment because police inevitably would have discovered the baton, which defendant argues also is not supported by substantial evidence. We agree with defendant.
I.
Standard of Review
When ruling on a motion to suppress, the trial court determines the facts, selects the rule of law, and applies the rule to the facts "in order to determine whether the law as applied has been violated." ( People v. Gonzales (2011)
II.
There Is Not Substantial Evidence That Ambrose Conducted an Inventory Search.
Defendant argues there is not substantial evidence that Officer Ambrose's search of the vehicle was a valid inventory search pursuant to standardized department procedures. We agree.
Both the Fourth Amendment to the United States Constitution and the California Constitution prohibit unreasonable searches and seizures, including those conducted without warrants. Specifically, "The right of the people to be secure in their persons, houses, papers and effects, *801against unreasonable searches and seizures, shall not be violated...." ( U.S. Const., 4th & 14th Amends.; Cal. Const., art. I, § 13 ; see People v. Williams (1999)
"Warrantless searches are presumed to be unreasonable ' "subject only to a few specifically established and well-delineated exceptions." ' " ( People v. Evans (2011)
Courts have recognized an exception to the warrant requirement when the police take "an inventory of the contents of a vehicle" in the course of impounding it ( Williams , supra ,
However, courts have "recognized the risk that police might use an inventory of this kind as a pretext for searching a vehicle for contraband or other evidence." ( Williams , supra ,
California courts have rejected claims of purported inventory searches where the evidence does not show the search was conducted in accordance with an established policy or practice governing such searches or indicates the search was conducted for another purpose. (See Williams , supra , 20 Cal.4th at pp. 123, 138,
*91In Williams , the defendant, Williams, moved to suppress evidence of drugs that two deputies, Hunt and Oliver, found during a search of Williams's truck that the deputies conducted after Hunt stopped Williams for making an illegal turn. ( Williams , supra ,
The primary issue in Williams was whether Williams's motion to suppress was specific enough to afford the prosecution notice of the grounds for the motion. But the court also elaborated on the prosecution's failure to meet its burden of proof and the importance of requiring it to do so. ( Williams , supra , 20 Cal.4th at pp. 138-139,
Here, Ambrose testified it was standard police department policy for an officer to have a vehicle such as defendant's towed and inventoried when no one was present to take custody of it, it was standard procedure to fill out a CHP 180 form if the vehicle was towed, and the CHP 180 form contained a field in which one could inventory the items that were found in the towed vehicle. However, Ambrose did not testify that he was complying with these *92policies when he searched defendant's vehicle.
On this record, there is no substantial evidence that Ambrose conducted an inventory search in accordance with standardized policies and procedures of the Fairfield Police Department. With no evidence that the officers had considered whether, or decided, to impound defendant's vehicle, and if so the reasons for impoundment, the police's "community caretaking functions" were not implicated.
*804Given the absence of this evidence and, further, given Ambrose's disclaimer of any responsibility for the vehicle, the traffic stop or the CHP 180 form, as well as the lack of evidence that he referred in any way to his search in his police report, there is no basis for inferring that Ambrose's search of defendant's vehicle was undertaken for the *93purpose of preparing an inventory. As the United States Supreme Court and California Supreme Court have stated, "[t]he policy or practice governing inventory searches should be designed to produce an inventory." ( Wells , supra ,
III.
There Is No Substantial Evidence That Police Inevitably Would Have Discovered the Baton.
The People do not argue that Ambrose conducted an inventory search of defendant's vehicle. Instead, they contend we should affirm the judgment because, as the prosecutor argued below in the alternative,
"[E]vidence that has been illegally obtained need not always be suppressed...." ( Nix v. Williams (1984)
*94*805"The prosecution must establish inevitable discovery without resort to speculation, for 'inevitable discovery involves no speculative elements but focuses on demonstrated historical facts capable of ready verification or impeachment.' " ( People v. Superior Court (Corbett) (2017)
The People point out that defendant "does not contend that he would have maintained control over his vehicle after the stop, or that the vehicle would not have been impounded." Further, "no one else was available to take the vehicle, so it is apparent that the car would have been towed and inventoried, and the baton would have been eventually found. The community caretaking function of keeping unlicensed drivers off the road, and of removing cars without drivers from the street, is clear." After noting that the baton was visible inside defendant's vehicle, the People conclude, "Thus, if Officer Ambrose had not detected the baton, personnel inventorying the car at the impound lot eventually would have." The People also emphasize Ambrose's testimony that department policy required officers to have a vehicle such as defendant's towed and inventoried and to note and place in custody for safekeeping any items of high value found in a vehicle.
The People's inevitable discovery argument fails because it requires us to build speculative inference on top of speculative inference. (See People v. Raley (1992)
Second, there is no indication that the vehicle was actually towed. As we have discussed, Ambrose's testimony indicates that he was unaware of any decision to tow the vehicle, that he had nothing to do with considering such a question, and that he did not know whether or not the vehicle was ever towed. In light of this testimony, it would also be speculation to conclude the vehicle was actually towed.
It is possible that defendant's vehicle was towed but, again, a mere possibility *806does not rise to the level of substantial evidence. ( People v. Ramon , supra ,
For the reasons we have stated, there is no substantial evidence to support the court's denial of defendant's suppression motion. The court should have granted the motion because the People failed to meet their burden of establishing that the search of defendant's vehicle did not violate the warrant requirement of the Fourth Amendment and the California Constitution.
The court's error "is by its nature prejudicial" in this circumstance, where defendant pled no contest after the court's erroneous denial of his suppression motion. ( People v. Reyes (2011)
In light of our conclusions, we do not need to, and do not, address the remainder of the parties' arguments.
DISPOSITION
The judgment is reversed and the cause is remanded with directions to the trial court to (1) vacate the order denying defendant's suppression motion and enter a new order granting the motion; (2) permit defendant to withdraw his *96no contest plea; (3) determine, if defendant does withdraw his plea, whether the People intend to retry the case; and (4) make such other orders as are necessary and appropriate.
We concur.
KLINE, P.J.
MILLER, J.
Notes
All statutory references are to the Penal Code.
Asked whether the department's policy of towing and inventorying unattended vehicles applied in this case, Ambrose did not respond directly, instead observing there were "a couple of different reasons to get in and search [defendant's] vehicle: One being inventory search and one being incident to the arrest that I was making."
He stated that, "to ensure if there is [sic ] any items of high value in the vehicle, that we are to note them-or, actually, take and put them into our custody for safekeeping, just so that when the vehicle is towed, it's not going to possibly become missing." The People acknowledge that the policy required officers both to note and to take custody of any items of value.
When an inventory search is conducted based on a decision to impound, the impoundment itself must be warranted. "Whether 'impoundment is warranted under this community caretaking doctrine depends on the location of the vehicle and the police officers' duty to prevent it from creating a hazard to other drivers or being a target for vandalism or theft.' " (People v. Williams (2006)
The People contend that the magistrate ruled the baton inevitably would have been discovered when defendant's vehicle was impounded. We disagree. Instead, as we have discussed, the magistrate concluded that Ambrose conducted a proper inventory search of the vehicle.
