Furthermore, article 273 of the Code of Criminal Procedure provides that “where, following review of the proceedings, a convicted person is acquitted or a less severe sentence is imposed, he or she shall be compensated for the time spent in prison or for the excess time served”.