The issue here is not "someone" breaking into your house and stealing it, it is the authorities doing it. Destruction/sabotage of the evidence collection process is very possibly going to be held against you.
Let's look at another case, I remember that some people had USB drivers that detected "wrigglers" and shut down the computer in response to such a wiggler. Would that also be illegal?
If I install anti scan files and anti mouse wrigglers when travelling to China do they become legal then?
Presumption of innocence is the most fundamental cornerstone of common law.