It's a legal concept : "Fruit of the poisoned tree"
In essence, you can't commit a crime (in this case, a false / fraudulent threat of suspicious package)
in order to gain unauthorized physical access (trespass )
and then charge someone with criminal action, based on illegal / falsified trespass.
And another one.