On two occasions I've felt the need to be armed while confronting trespassers: Once, a fellow with an ax decided it was okay to cut trees in our wood lot (on a parcel adjacent to our home). The other time, coyotes were using the lot as a staging ground for the distribution of illegals. Apparently they'd ben delivered late the night before and camped over, to be ready for an early departure.
In the first case, it was pistol in hand, but behind my back. A local sheriff's deputy took custody of the ax man, without me ever displaying the pistol.
For the group of campers, I displayed an AR and it hastened their departure. I called the coyotes' tag numbers into the feds -- they couldn't have cared less. They even had the audacity to ask me what I thought they should do. When I suggested they forward the tag numbers to their area check points, they hung up.