What happens if you wire a four-prong dryer cord backwards?
Assuming you are asking about US residential biphase 240 volt wiring (or equivelant), then there is nothing wrong with reversing the black and red wires.