Judgment no. 13543/2025 of the Court of Cassation, Criminal Section IV, confirms the right to compensation for unjust detention even when the deprivation of liberty depends on an error in the execution of the sentence, provided that the interested party has not acted with intent or gross negligence. Let's analyze the regulatory framework and the practical effects of this important ruling.