Just like in court, if there is witness testifies that the defendent did something, the defendent can be convicted.