In connection with the Hou Yifan incident in Gibraltar I read that when doing the pairings they avoided matches between players from Iran and Israel (for whatever reason...).
How is this technically done in a Swiss pairing system? Is there an option in the pairing program to set this? Algorithmically, is it done in such a way that these matches are considered played already (through some flag "playedAgainstEachOther=true") or in some other way?