Fans of the BBC crime drama were not expecting to see DS Esther Williams wake up in bed with another lead character.