There is ambiguity in practice, if the two aircraft are well separated but apparently head-on, if their tracks are such that a turn to the left is more appropriate.
Obviously this won't be very good if they both do it, but in practice, invariably, one of them spots the other long before the other one spots the first one.
In an imminent head-on you should turn to the right.