Ok. let's just disregard the Sections for now.
The police have this thing called 'Sanction by law', which means He/she must state the reason(s) for your arrest, Unless it's under a special circumstances, i.e, Johnney Shitbag robs a bank, police comes in and negotiate with him, sprays him, then cuffs him. So it's pretty obvious that he did something wrong. in Doof's case. he got pulled over, officers could at least tell him something like "Ok, mate, we are here to defect your car, or we are here to search your car, because i have suspicions that you have drugs in your car..."
Doof replies something like: "No worries officer, i have nothing to hide, do what ever you like.."
Ok now, you may ask "Well he(Doof) knew that he have lot's of defects in his car, which is a crime by the books. And the officers knew that he(Doof) knew that oh shit i have a lot of defects in my car, and I'm gonna get done.."
BUT.
Whatever the police know or has a suspicion of, does not encounter with What Doof knows. Doof might say "Oh, i didn't know i have those defects, and i didn't know i have those drugs under my backseat. " Office: " Yeah, but it's your car, you drives it, you own it." Doof:" Yeah, that doesn't mean i have to know everything about my car, people sit in it, people puts stuff in it, other people drives it, and officer which section says i have to check everything in my car before i drives. "
I hope this clears up a bit.
I'm not a defence lawyer nor a prosecutor. But rules are there, is not up to me nor the parliament to asking every office to do their job right.
ps please don't pm me to be your lawyer for your traffic offences lol.
For those of you did, i have pmed yous back.