The cops probably picked him up because they knew him for petty crime and that he was an asylum seeker - good old bias. The prosecutor probably told them to let him go because there was no evidence to connect him to the crime.