When laws protect criminals it encourages vigilante justice.
“The main goal of squatters’ rights is to discourage the use of vigilante justice.
When laws protect criminals it encourages vigilante justice.”
Exactly this. That’s exactly what it does.