Under pressure by the European Court of Human Rights, Italy recently established a mechanism to indemnify inmates detained in overcrowded cells. Nearly all the Italian jails are overcrowded.
Inmates have to petition the Surveillance Court, and if they win they get a reduction of their term and sometimes also real money. For example, the Padua Court awarded nearly 5,000 euros to an Albanian citizen convicted for conspiracy, juvenile prostitution, violence and perjury. The Ministry of Justice appealed the judgement.
Other Courts are reported to be more picky in their evaluation of the petitions.