A doubt in programming a stand alone atmega 328 using FTDI chip on arduino uno.

When we want to upload a code onto a stand alone atmega328 chip using arduino UNO the atmega chip on it has to be removed ,,But what happens if we directly upload the code without removing the atmega on the UNO???

Both chips will try to respond to the FTDI signals.

It will end badly.