Was there some kind of prearranged signal? A diplomatic code adhered to even by enemies? Just a general preference on all sides concerned preventing headaches and vague unheimlich feelings of discomfort? So many questions…
If I was harassing the federation I would keep my ship at an awkward angle relative to theirs at all times just to keep them on edge.
I was totally fine with the other plot holes though.