My understanding, from traveling to Japan, you learn Japanese in prison.
That happened to a high school friend of my brother. He found out the hard way that Japanese attitudes toward a first offense for a few joints were not as easy going as in much of the US. After six months in prison though, he knew Japanese — and even married a Japanese girl in the US who keeps him on track.