Indeed, There are all different Guards. As you mentioned.
Liberty Navy Guard, Liberty Police Guard, Liberty Security Force Guard.
Bertonia Armed Forces Guard,Ect ect.
They are normally, Hostile. Just do not mistaken a Friendly Guard, For a Hostile Ship.
I've done that a few times. But, Just watch your Guard Systems, They are thy Most Powerful NPC's.