His diplomatic moves on Ukraine and Gaza were both dazzling and unconventional.