Absolutely, but, Canadian law would absolutely allow illegally-collected evidence. The trial against the officer invading the defendant's privacy is a separate matter; the goal of a trial is to determine the truth of matters, after all, and if the defendant did kill someone, all evidence to support (or refute) that is generally admissible.
The details are the entire thing! The principles that we should have fair trials due process are followed, but, you end up with wildly different conclusions.