It's possible that for self driving to work road systems will have to be more formalised to remove the ambiguous situations you've described. I can't imagine it working well in China or Indonesia where traffic flows much more like water in a stream and lanes are merely just suggestions.