The Korean alcohol soju and Japanese alcohol shochu can trace their descent from the Levantine alcohol araq. There was a caliph of the Ottoman Empire named Selim the Sot. Islam's effect on alcohol historically wasn't to destroy it, but to impoverish it via discouragement (leading to the extinction of many historic grape varieties from Mauretania to Iran). Remaining sorts of wine, or later distilled drinks like araq, would be eagerly consumed by less orthodox Muslims, up to and including the ruling class.
Traditional Hui Islam was generally heterodox, so any traditional Japanese Islam would likewise be the same. If there's a Japanese ruler who declares himself Caliph, then odds are good his variety of Islam won't be very orthodox either. Pork was and is a major meat in Japan, so there needs to be a workaround. Sake was a huge part of government revenue since the Middle Ages (as late as the Russo-Japanese War, about 30-40% of government revenue on either side was funded by alcohol taxes). There's always been a loophole in some groups of Muslims about what alcohol Muhammad forbade (in opposition to the orthodox Muslim position that all alcohol is forbidden)--some say only intoxicants of grapes and dates are banned, and not those of wheat, honey, etc. Sake, made from rice, would thus be exempted under this view (nowadays a heterodox view), as would most all shochu, which is made from rice, barley, buckwheat, and even more odd ingredients like sweet potato, green tea, etc.