Nanbangashi is a variety of sweets derived from Portuguese or Spanish recipes, the popular sweets are "Kasutera" named after Castile and "Kompeito" named after Portuguese word confeito, which means a sugar candy. These "Southern barbarian" sweets are on sale in many Japanese supermarkets today.
Soon after the first contacts in 1543, Portuguese ships started to arrive in Japan. At that time, there were already trade exchanges between Portugal and Goa (since around 1515), consisting of 3 to 4 carracks leaving Lisbon with silver to purchase cotton and spices in India. Out of these, only one carrack went on to China in order to purchase silk, also in exchange for Portuguese silver.
Accordingly, the cargo of the first Portuguese ships (usually about 4 smaller-sized ships every year) arriving in Japan almost entirely consisted of Chinese goods (silk, porcelain). The Japanese were very much looking forward to acquiring such goods, but had been prohibited from any contacts with China by the Emperor of China, as a punishment for Wakou pirate raids. The Portuguese therefore found the opportunity to act as intermediaries in Asian trade.
A Portuguese carrack in Nagasaki, 17th century.From the time of the acquisition of Macau in 1557, and their formal recognition as trade partners by the Chinese, the Portuguese Crown started to regulate trade to Japan, by selling to the highest bidder the annual "Capitaincy" to Japan, in effect conferring exclusive trading rights for a single carrack bound for Japan every year. The carracks were very large ships, usually between 1000 and 1500 tons, about double or triple the size of a regular galleon or a large junk.
That trade continued with few interruptions until 1638, when it was prohibited on the ground that the ships were smuggling priests into Japan.
Portuguese trade was progressively more and more challenged by Chinese smugglers on junks, Japanese Red Seal Ships from around 1592 (about ten ships every year), Spanish ships from Manila from around 1600 (about one ship a year), the Dutch from 1609, the English from 1613 (about one ship per year).