Read/Write EEPROM IN-Circuit

I am studying a battery operated device that uses a microprocessor with separate 24C16 EEPROM. When I operate the product it takes a measurement, then stores data in the EEPROM. I want to be able to write to the EEPROM to fill it with "FF"s, then operate the product so it stores its data, then read the EEPROM and save the data. Then repeat everything for more operations. I have modified the product to place the EEPROM in an 8-pin DIP socket elevated so it is accessible outside the device enclosure, but I would prefer a solution that doesn’t require unplugging the EEPROM for every test. For example, if there’s a potential problem with both a programmer and the device uC having access to the SDA line, maybe the EEPROM lines could be routed through a 2-pole or 4-pole switch to change back and forth between operating the device and reading/writing to the EEPROM. The device’s uC is sleeping while I want to read/write to the EEPROM, if that helps allow SDA access. What is the simplest way to do this?