if you use an eID script a whole bunch of config will be missing, maybe extbase does not know what field flags your record as deleted. You will need to bootstrap a full frontend i think.