No its not like that. Animal cells and Plant cells have enzymes and molecules which can cleave the foreign gene. The cells are treated so that they can accept foreign genes. Before a foreign gene is introduced into a plant cell, that cell is treated with enzymes that dissolve the outer wall.