The jury was told that detectives were sceptical when Thomas claimed he had been asleep but scientists specialising in sleep disorders conducted a series of tests and concluded his behaviour was consistent with the “legal concept of automatism”, in which people act without knowing what they are doing.