Yes. Naval invasions are considered 'forced' invasions.

How you (the player) can spot a trusted ally as of official v1.2:

- You must love him (0.5). Not necessary in the case of human player.
- He must love you (0.5).
- You must not be a backstabber (-0.1).
- He must not be a backstabber (-0.1).