Now, because the country wants to use various means to alleviate the pressure of RMB appreciation, it is more relaxed to exchange RMB for other currencies, so there is absolutely no need for you to exchange funds for B shares through Japanese friends.
When you go to the bank for remittance, you can write "buy foreign goods", as long as you don't write investment or stock.