Please let me know if I understood your question and if this the answer to it.
So we have this fictional situation. Maestro, NDJ and Papillon all have the same amount of points in the final ranking. Papillon beat NDJ as well as Maestro....then it is clear Papillon is #1. Then it comes to Maestro vs NDJ. Now you said Maestro lost both his games, implying Maestro lost to NDJ as well....then it is clear as well isn´t: NDJ won the head to head so he is #2.
The point is when 3 players are tied for the 2nd place in a division but player a lost against b and c, c won against a and b and b won against a and lost against c then in this case they will be ranked 2nd (and promoted) c, 3rd b and 4th a ... even if a won against the higest ranked (number 1) in the division while b and c lost against him?