Flashtool has this feature, but since I've never done it that way I don't know if the unlocking code is still required for that procedure. If yes, you'll have no choice because the code provided by Sony seems depending on the IMEI so it may be IMEI specific... this is a supposition that needs to be confirmed.