It’s happening because there’s virtually zero consequences for their actions, and they know it.
It’s simple though. Grab a loudspeaker and warn the mob that anyone trespassing passing will be shot. If that fails to deter and they enter anyway, you start airing that bytch out. They’d likely stop when they see the first few bodies drop.
Same as if a mob of people were attempting to break into your home. Once they make entry, they’re getting lit the fukk up. Mow them down until the threat is neutralized.