Because the Ming Dynasty adopted the haijin policy (a ban on maritime activities), the shogun of the Ashikaga Shogun Family was granted the title of 'King of Japan' by the emperor of China.
明が海禁政策を行っている事情から足利将軍家の幕府将軍が「日本国王」として冊封した。