The comparison is not for them to come into the house, it is for them to come on to the property. If I shoot them and kill them while walking across my property, but not in my house, that is murder.
So you believe the US can only militarily repel invaders if they make it to a courthouse?