Don't blame the courts.
Blame the police officers that decided that they were not bound by official procedures.
$1:
police seriously violated Ms. Côté’s rights by conducting a warrantless search and attempting to conceal their conduct afterward.
Those procedures are in place for a reason, and they should be followed.