When the president has traveled out of the country in order to strengthen the trading bonds with Japan, this is known as diplomatic relations.
Countries send diplomats to work in each other's country and to deal with each other formally. Diplomatic relations involve permanent contact and communication between sovereign countries.