Please answer the following question: Robin compiled a thorough case against them and brought the convict the trial. Given that the answer to a question is "was doing their job as a detective", what is the question?
A:
Why did Robin do this?