The president will have a weekend full of ceremonies and pageantry, and will be the first leader to greet Emperor Naruhito.