For one, Russia was given a heads-up of the president's visit to avoid any miscalculation that could bring the two nuclear-armed nations into direct conflict.