It does that too now, friendly or foe, with 1Km you get fired on.
Maybe they've tweaked it's behaviour since the last patch. I haven't seen a Cap since the week they made the change.
No it does not do that unless you have not declared a faction. It will let you close if you are on its team