I think if you have valid status right now, you can change. But you you don't have, then you can't change at embassy/consulate.