If you have a foreign exchange account in the bank, you can keep the yen.
International remittance goes to regional banks first, and then to local banks. There is a handling fee in the middle, so when accepting international remittance, it is more appropriate to apply for a passbook of a regional bank.