Who decides which military posts are legal and illegal?
Then if it's decided it's illegal, who enforces that decision?