I talked to our local police in our community about this issue just recently.
They have no intention of putting up with this nonsense. They told me that if someone was on my property (which I took to mean not just in my house) and I didn’t want them there and they wouldn’t leave, to call them and they’d deal with it.
Then again, this is Live Free or die NH and almost everyone is armed. You trespass and you risk getting shot anyways. Neighbors have been known to greet deliverymen they didn’t recognize with a gun when the property owners weren’t home.