As far as I know, the shoes on sale are generally not all sizes.
If there is a size 39 in the store and you haven't worn it, you should be able to exchange it.
But if there are no size 39 shoes in the store, you may not be able to exchange them.
If you really can't change it, you can wear a pair of insoles. It won't have much impact, will it?