The police made a " shocking and catastrophic error " and endangered the public , prosecutors told the jury on Thursday at Central Criminal Court , by allowing someone they suspected to be a suicide bomber to board the train and then by shooting him .