I recall from when I worked on telephony stuff, Japan has some strict regulatory issues. With that in mind I decided to google a bit.
http://www.japantimes.co.jp/life/2015/0 ... y-illegal/
"All wireless devices sold in Japan must have a technical conformity certificate (
gijyutsu kijyun tekigō shōmei, which is usually shortened to
giteki in Japanese). Electronic devices that have such a certificate adhere to regulations under the Radio Law."
The article also added
"Although legislation says such violations are punishable by up to a year in prison or a fine of up to ¥1 million,
the regulation has never been strictly enforced."
So its up to you if you use it, afaik the device (which I believe means the entire device not just individual components) must be certified to be legal - it is more than setting the country code in wifi configs. However the odds of enforcement appear to be low.
If you set it to JP odds are no one will notice, complain, etc as it probably would otherwise comply. If you set it to anything else that allows higher power output, different frequency usage, etc then someone
might notice, complain, etc and enforcement begins. This does not make it legal it just makes it appear legal to casual observers which is probably enough to prevent questions from being asked.