Strachan confessed to rape online but denied the crime in court