Could you please explain how the winner will be determined in such a situation?
Well, it seems that in a Swiss-system tournament, the 2nd and 3rd players play against each other, and the 3rd player plays against someone with 6 points. If the 3rd player loses, then there is only one winner left; if they win, then there will be a final match.