“Ethical Override” by Nina Croft was first published in The Robot Chronicles. I read it in the collection The Future Chronicles – Special Edition. Until February 29, 2016, you can get The Future Chronicles – Special Edition, or any one of a selection of free books, by signing up to Discover Sci-Fi.
This starts out as a mystery whodunnit type of story but becomes a science fiction story in the second half. We are given the answer to the mystery about half way through the story. Not my favourite story from this collection, but enjoyable nonetheless. The story edged into the area of romantic erotica a couple of times, which put me off a bit.