Didn't The Doctor (Voyager) also have this issue? When his matrix was deteriorating, they called up his creator's hologram. Then he met his own creator who refused his existence.
Or that other Cardassian doctor which was programmed based on prior data, turned out to not be so moral.
Just watched some ENT episodes where Shao Kahn (Mortal Kombat) was helping some Romulans.