Overlap is measured from the stern and Ainslie was in a perfect position to judge this as he is very far aft.
I think the tactical decision to let the kiwis go past was a good one, but was executed poorly (Jimmy put the brakes on). By going behind them they would have had a chance to block the kiwis from gybing, and be on starboard tack.