Will I be warned before changing my trainer name?
Solution 1:
If you want to change your name from the settings menu it will ask you twice, whether or not you want to be renamed.
After confirming both questions it will check for availability. So yes... the procedure is pretty much the same. If it's available you get it right away with no further confirmation request.