maybe you could do it with a little hardware.. connect a transistor to the reset pin, and connect the base to e.g. pin 13. Set the pin to HIGH when the arduino receives "reset" through the serial port..
i don't know how to do it with pure code, but this might be the easiest way to do it..