(This is a common anti-immigration talking point, that whatever limits we place on people entering our homes are also justified against people entering the country.)
Except it's illegal to booby trap your home.
As well as morally abominable, of course.