Those 12 policemen and a 13th person facing allegations over drugs remain in jail.
The Juzgado Penal de Hacienda ordered the individuals held for three months additional of preventative detention in a late night session that ended Friday.
This is the case where another judge said the men could go free because a disk on which a hearing was recorded could not be heard. The narcotrafficking prosecutor pressed the case and filed a series of appeals that culminated in the extension of the detention.
The men are accused of using their police powers to shakedown drug dealers and to steal drugs for resale. They were in the Heredia station.
Even if they had left prison, the case would have continued because they were being held prior to trial.