I think the idea is to "disincentivize illegal police searches" period.
After all, they are about enforcing THE LAW and their authority comes from THE LAW.
Ergo, to break the law to enforce it is, well, stupid.
That is one idea. The other main idea is to apprehend criminals in order to protect the public. Both are important. Read the ruling. It discusses this.