A man is being questioned in court about his involvement in a crime.