Bank of Japan Gov. Kazuo Ueda had a clear message last week — the weak yen was a risk, and rates were likely to keep rising.

The reaction from traders to Ueda’s apparent hawkish turn was severe.

The currency surged more than 3% against the dollar, and Japanese stocks had their biggest rout since 1987.