{
  "id": "nexus-sen-1-0034-484540",
  "citation": "Res. 02773-2010 Tribunal Contencioso Administrativo Sección VI",
  "section": "nexus_decisions",
  "doc_type": "court_decision",
  "title_es": "Responsabilidad estatal por error judicial tras absolutoria en revisión penal",
  "title_en": "State liability for judicial error after acquittal in criminal review",
  "summary_es": "El Tribunal Contencioso Administrativo rechaza una demanda de indemnización contra el Estado presentada por un ciudadano que fue condenado por violación, sufrió prisión y luego fue absuelto en un recurso de revisión. El actor alegaba error judicial por falta de evacuación de pruebas. El Tribunal analiza los presupuestos de la responsabilidad objetiva del Estado por error judicial en función jurisdiccional, distinguiendo esta figura de la responsabilidad civil del juez y del funcionamiento anormal. Concluye que no se demostró error judicial grave declarado por la autoridad penal competente; la absolutoria se basó en duda razonable surgida de prueba nueva (in dubio pro reo), no en la demostración plena de inocencia ni en un yerro judicial palmario. Por tanto, no cabe indemnización por la prisión sufrida ni por la prisión preventiva, al no darse los requisitos de los artículos 419 y 408 del Código Procesal Penal ni del artículo 108 del Código Penal. Se rechaza la demanda en todos sus extremos, acogiendo la defensa estatal de falta de derecho.",
  "summary_en": "The Administrative Contentious Court denies a claim for damages against the State filed by a citizen who was convicted of rape, imprisoned, and later acquitted in a review appeal. The plaintiff alleged judicial error due to failure to admit evidence. The Court analyzes the requirements for State objective liability for judicial error in jurisdictional functions, distinguishing it from the civil liability of judges and from abnormal functioning. It holds that no gross judicial error was declared by the competent criminal authority; the acquittal was based on reasonable doubt arising from new evidence (in dubio pro reo), not on full proof of innocence or a blatant judicial mistake. Therefore, no compensation is due for the imprisonment suffered or for the preventive detention, as the conditions of Articles 419 and 408 of the Criminal Procedure Code and Article 108 of the Criminal Code are not met. The claim is dismissed in its entirety, upholding the State's defense of lack of right.",
  "court_or_agency": "Tribunal Contencioso Administrativo Sección VI",
  "date": "2010",
  "year": "2010",
  "topic_ids": [
    "_off-topic"
  ],
  "primary_topic_id": "_off-topic",
  "es_concept_hints": [
    "error judicial",
    "responsabilidad del Estado por función jurisdiccional",
    "recurso de revisión penal",
    "in dubio pro reo",
    "cosa juzgada",
    "prisión preventiva",
    "Art. 419 Código Procesal Penal"
  ],
  "concept_anchors": [
    {
      "article": "Art. 49",
      "law": "Constitución Política"
    },
    {
      "article": "Art. 154",
      "law": "Constitución Política"
    },
    {
      "article": "Art. 108",
      "law": "Código Penal"
    },
    {
      "article": "Art. 408",
      "law": "Código Procesal Penal"
    },
    {
      "article": "Art. 419",
      "law": "Código Procesal Penal"
    }
  ],
  "keywords_es": [
    "error judicial",
    "responsabilidad del Estado",
    "función jurisdiccional",
    "recurso de revisión",
    "prisión preventiva",
    "indemnización",
    "absolutoria",
    "in dubio pro reo",
    "cosa juzgada",
    "Código Procesal Penal"
  ],
  "keywords_en": [
    "judicial error",
    "state liability",
    "jurisdictional function",
    "criminal review",
    "preventive detention",
    "compensation",
    "acquittal",
    "beyond reasonable doubt",
    "res judicata",
    "Criminal Procedure Code"
  ],
  "excerpt_es": "Del análisis de dicha normativa se desprende la imperiosa necesidad de que la autoridad competente para conocer del recurso de revisión, en este caso, la Sala Tercera de la Corte Suprema de Justicia, haya reconocido la existencia de un error judicial. No obstante, de un análisis minucioso de los autos, no se desprende que dicha Sala, en la sentencia número 2006-00565 de las 15 horas 10 minutos del 7 de junio del 2006 haya decretado la existencia de tal equívoco, presupuesto de la reparación que se peticiona. En efecto, el análisis expresado por ese alto Tribunal, refleja que la absolutoria decretada lo fue por la aceptación de una nueva prueba testimonial que no fue ponderada y evacuada en la fase de juicio ni en sede casacional, sea, la deposición de [testigo], la cual, una vez recibida, llevó al Tribunal a considerar que ante la duda razonable de si el imputado había cometido o no el delito que se le atribuía, lo procedente era la absolutoria. (...) Como se observa, el resultado de absolutoria atendió a un criterio de duda razonable y de in dubio pro reo, derivado de la incorporación de un nuevo elemento de convicción que no se tuvo presente en las fases previas del proceso.",
  "excerpt_en": "From the analysis of said regulations it is clear that the competent authority to hear the review appeal, in this case, the Third Chamber of the Supreme Court of Justice, must have recognized the existence of a judicial error. However, from a meticulous analysis of the record, it does not appear that said Chamber, in ruling number 2006-00565 of 3:10 p.m. on June 7, 2006, decreed the existence of such mistake, which is a prerequisite for the compensation sought. In effect, the analysis expressed by that high Court reflects that the acquittal was decreed due to the acceptance of new testimonial evidence that was not considered and produced in the trial phase or in the cassation instance, namely, the deposition of [witness], which, once received, led the Court to consider that in view of the reasonable doubt as to whether the accused had or had not committed the crime attributed to him, the appropriate course was acquittal. (...) As observed, the result of acquittal was based on a criterion of reasonable doubt and in dubio pro reo, derived from the incorporation of a new piece of evidence that was not present in the prior stages of the proceedings.",
  "outcome": {
    "label_en": "Dismissed",
    "label_es": "Sin lugar",
    "summary_en": "The claim for damages for judicial error is dismissed in its entirety because no gross judicial error was declared by the criminal authority, and the acquittal was based on reasonable doubt, not on full proof of innocence.",
    "summary_es": "La demanda de indemnización por error judicial es rechazada en todos sus extremos al no haberse acreditado la existencia de error judicial grave declarado por la autoridad penal, y porque la absolutoria se basó en duda razonable, no en demostración plena de inocencia."
  },
  "pull_quotes": [
    {
      "context": "Artículo 419 Código Procesal Penal (transcrito)",
      "quote_en": "When, as a result of the review of the proceedings, a judicial error is recognized, as a consequence of which the convicted person served a sentence he should not have served, or a longer or more severe one than he deserved, the court hearing the review may order the payment of compensation by the State",
      "quote_es": "Cuando a causa de la revisión del procedimiento se reconozca un error judicial, a consecuencia del cual el sentenciado descontó una pena que no debió cumplir, o una mayor o más grave de la que le correspondía, el tribunal que conoce de la revisión podrá ordenar el pago de una indemnización a cargo del Estado"
    },
    {
      "context": "Considerando VIII",
      "quote_en": "judicial error includes any jurisdictional decision that deprives a person of one of his rights or legitimate interests and that turns out to be mistaken or contrary to law",
      "quote_es": "el error judicial comprende toda decisión jurisdiccional que prive a la persona de uno de sus derechos o intereses legítimos y que resulte errónea o contraria a derecho"
    },
    {
      "context": "Considerando IX",
      "quote_en": "the mere annulment or revocation of a decision does not, in itself, imply a mistake of this nature, much less an automatic right to compensation",
      "quote_es": "la sola anulación o revocatoria de una resolución no implica, per se, un yerro de esta naturaleza y mucho menos, una suerte de derecho automático a la indemnización"
    },
    {
      "context": "Considerando XII",
      "quote_en": "the eventual liability provided for in the aforementioned article 108 is only viable when the acquittal ordered in the review procedure has been based on criteria of full proof of innocence",
      "quote_es": "la responsabilidad eventual prevista en el artículo 108 de previa mención, solo es viable cuando la absolutoria dispuesta en procedimiento de revisión lo ha sido por criterios de plena demostración de inocencia"
    }
  ],
  "cites": [],
  "cited_by": [],
  "references": {
    "internal": [],
    "external": [
      {
        "ref_id": "nexus-sen-1-0034-1266138",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-1266138"
      },
      {
        "ref_id": "nexus-sen-1-0034-502583",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-502583"
      },
      {
        "ref_id": "nexus-sen-1-0034-505079",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-505079"
      },
      {
        "ref_id": "nexus-sen-1-0034-535838",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-535838"
      },
      {
        "ref_id": "nexus-sen-1-0034-550310",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-550310"
      },
      {
        "ref_id": "nexus-sen-1-0034-550938",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-550938"
      },
      {
        "ref_id": "nexus-sen-1-0034-578014",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-578014"
      },
      {
        "ref_id": "nexus-sen-1-0034-679421",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-679421"
      },
      {
        "ref_id": "nexus-sen-1-0034-970312",
        "url": "",
        "kind": "related_voto",
        "label": "",
        "nexus_id": "sen-1-0034-970312"
      }
    ]
  },
  "source_url": "https://nexuspj.poder-judicial.go.cr/document/sen-1-0034-484540",
  "tier": 2,
  "_editorial_citation_count": 0,
  "regulations_by_article": null,
  "amendments_by_article": null,
  "dictamen_by_article": null,
  "concordancias_by_article": null,
  "afectaciones_by_article": null,
  "resoluciones_by_article": null,
  "cited_by_votos": [],
  "cited_norms": [],
  "cited_norms_inverted": [
    {
      "doc_id": "norm-12443",
      "norm_num": "7130",
      "norm_name": "Código Procesal Civil",
      "tipo_norma": "Ley",
      "norm_fecha": "16/08/1989"
    },
    {
      "doc_id": "norm-41297",
      "norm_num": "7594",
      "norm_name": "Código Procesal Penal — Acción penal en delitos ambientales",
      "tipo_norma": "Ley",
      "norm_fecha": "10/04/1996"
    },
    {
      "doc_id": "norm-5027",
      "norm_num": "4573",
      "norm_name": "Código Penal — Ley 4573",
      "tipo_norma": "Ley",
      "norm_fecha": "04/05/1970"
    },
    {
      "doc_id": "norm-871",
      "norm_num": "0",
      "norm_name": "Derecho a un ambiente sano y ecológicamente equilibrado — Artículo 50 de la Constitución Política",
      "tipo_norma": "Constitución Política",
      "norm_fecha": "07/11/1949"
    }
  ],
  "sentencias_relacionadas": [
    "sen-1-0034-1266138",
    "sen-1-0034-502583",
    "sen-1-0034-505079",
    "sen-1-0034-535838",
    "sen-1-0034-550310",
    "sen-1-0034-550938",
    "sen-1-0034-578014",
    "sen-1-0034-679421",
    "sen-1-0034-970312"
  ],
  "temas_y_subtemas": [],
  "cascade_only": false,
  "amendment_count": 0,
  "body_es_text": "Exp: 09-00 2638 -1027-CA Sentencia No\n\nExp: 09-00 2638 -1027-CA Sentencia No. 2773 -2010 2 de 30\n\n \n\n \n\nEXPEDIENTE: 09-002638-1027-CA\n\nASUNTO: PROCESO DE PURO DERECHO\n\nACTOR: Nombre141371 \n\nDEMANDADO: EL ESTADO\n\n \n\nNo. 2773-2010.\n\nTRIBUNAL CONTENCIOSO ADMINISTRATIVO, SECCIÓN SEXTA, SEGUNDO CIRCUITO JUDICIAL DE SAN JOSÉ. Goicoechea, a las horas ocho horas treinta minutos del veintinueve de julio del dos mil diez.\n\n \n\nProceso de puro derecho establecido por el señor Nombre141371 , cédula de identidad número CED111218, contra el Estado, representado por la Procuradora Clara Villegas Ramírez, cédula de identidad número CED89355.\n\n \n\nRESULTANDO:\n\n 1.- El señor Nombre141371 , formula la demanda que ha dado origen al presente proceso contra el Estado, para que en lo medular, en sentencia se condene al Estado al pago de daños y perjuicios causado por el Tribunal de Juicio del Primer Circuito Judicial de San José, por la condena dictada mediante la resolución No. 327-2004 de las 16 horas del 15 de abril del 2004, debido al error judicial contenido, al no evacuar la prueba ofrecida en el inicio del proceso. Por concepto de daños liquida las siguientes partidas: a) daño moral: ¢10.000.000.00 (diez millones de colones) por concepto de la herida con arma blanca que dice haber sufrido, ¢15.000.000.00 (quince millones de colones) por la prisión descontada; b) daño psicológico: ¢15.000.000.00 (quince millones de colones); c) perjuicios: ¢10.000.000.00 (diez millones de colones) por la imposibilidad de trabajar o conseguir sustento para su subsistencia. (Folios 1-7, 26-31 del principal)\n\n 2.- La representación estatal contestó de manera negativa. Opuso la defensa de falta de derecho. (Folios 39-57 del expediente principal). En la audiencia preliminar celebrada el 9 de junio del 2010, formuló excepciones de prescripción y caducidad. Dichas defensas fueron rechazadas por la juzgadora de trámite mediante resolución de las 15 horas de esa data. Empero, fueron reiteradas en la fase de conclusiones de este proceso. (Grabación de continuación de audiencia preliminar, del 10 de junio del 2010, detalle a partir de los 27 minutos 36 segundos del archivo de audio de esa audiencia)\n\n 3.- La audiencia preliminar establecida en el ordinal 90 del Código Procesal Contencioso Administrativo, que se encuentra grabada en el sistema digital de este Despacho, fue celebrada el día 9 de junio del 2010, con la asistencia solamente de la parte demandada. Dicha audiencia fue suspendida y luego continuada en fecha 10 de junio del 2010. En esta última audiencia, el presente asunto fue declarado como de puro derecho y las partes rindieron conclusiones. El expediente respectivo fue remitido a esta Sección Sexta del Tribunal Contencioso Administrativo para la emisión del fallo pertinente en fecha 01 de julio del 2010, según consta en sello de pase visible a folio 87 vuelto del expediente judicial.\n\n 4.- En los procedimientos ante este Tribunal no se han observado nulidades que deban ser subsanadas y la sentencia se dicta dentro del plazo establecido al efecto por los numerales 111 del Código Procesal Contencioso Administrativo y 82.4 del Reglamento Autónomo de Organización y Servicio de la Jurisdicción Contencioso Administrativa y Civil de Hacienda.\n\n \n\nCONSIDERANDO:\n\n I.- Hechos probados. De relevancia para los efectos del presente proceso se tienen los siguientes: 1) Por resolución de las 11 horas 40 minutos del 13 de julio del 2003, dictada dentro del expediente penal 03-013207-042-PE, el Juzgado Penal de Turno Extraordinario de San José, dispuso prisión preventiva por tres meses a partir del 13 de julio y hasta el 13 de octubre del 2003, contra el señor Nombre141371 , por el delito de robo agravado y violación en perjuicio de Nombre141372 . (Folios 8-14 del expediente penal) 2) Por resolución de las 8 horas 30 minutos del 01 de agosto del 2003, el Tribunal Penal del Primer Circuito Judicial de San José, se confirmó la prisión preventiva referida. (Folios 27-28 del expediente judicial) 3) Por resolución de las 16 horas 30 minutos del 13 de octubre del 2003, el Juzgado Penal del Primer Circuito Judicial de San José dispuso la prórroga de la prisión preventiva por un plazo de tres meses desde el 13 de octubre del 2003 al 13 de enero del 2004. (Folios 42-45 del expediente penal) 4) Por resolución No. 999-03 de las 14 horas 30 minutos del 22 de octubre del 2003, el Tribunal Penal del Primer Circuito Judicial de San José, confirmó la prórroga de la prisión preventiva decretada en perjuicio del accionante. (Folios 68-70 del expediente penal) 5) Mediante fallo de las 15 horas 45 minutos del 13 de enero del 2004, nuevamente, el Juzgado Penal de San José, decretó la prórroga de la prisión preventiva por un espacio de tres meses, a vencer el 13 de abril del 2004. (Folios 80-86 del legajo penal) 6) En el dictamen médico legal DML 8795-03 del 20 de agosto del 2003, la Sección de Clínica Médico Forense del Organismo de Investigación Judicial, luego de la valoración del señor Nombre141372 , afectado dentro del proceso penal objeto de referencia, concluyó que el afectado contaba con dos fisuras muy superficiales recientes en la zona anal. (Folios 113-114 del expediente penal) 7) En el auto de elevación a juicio de las 16 horas 04 minutos del 27 de febrero del 2004 del Juzgado Penal de San José, se señala: \"DE LA PRUEBA OFRECIDA POR LA DEFENSA: (...) Testimonial: Nombre141373 , habido en Centro de Reclusión de San Sebastián. Si bien es cierto la defensa mencionó como fundamento de la solicitud de sobreseimiento provisional la entrevista de los señores Nombre141374 y Nombre141375 , es lo cierto que no los ofreció como prueba testimonial...\" (Folios 143-144 del expediente penal) 8) Mediante la resolución No. 327-2004 de las 16 horas del 15 de abril del 2004, el Tribunal Penal del Primer Circuito Judicial declaró al accionante como actor responsable del delito de violación cometido en perjuicio de Nombre141372 , por lo que en tal carácter le impuso una pena de diez años de prisión. (Folios 171-179 del legajo penal) 9) Mediante sentencia No. 2004-01100 de las 11 horas 50 minutos del 10 de septiembre del 2004, la Sala Tercera de la Corte Suprema de Justicia rechazó el recurso de casación planteado por el imputado en fecha 04 de mayo del 2004. (Folios 181-200, 217-223 del legajo penal) 10) El 24 de junio del 2005, el accionante formula procedimiento de revisión contra los fallos condenatorios, el cual, fue admitido para su estudio mediante resolución No. 2005-01525 de las 9 horas 35 minutos del 23 de diciembre del 2005 de la Sala Tercera, únicamente en cuanto al ofrecimiento de prueba nueva del testimonio del señor Nombre141374 . (Folios 267-273, 308-310 del expediente penal) 11) Mediante el fallo No. 2006-00565 de las 15 horas 10 minutos del 7 de junio del 2006, la Sala Tercera de la Corte Suprema de Justicia dispuso: \"Por tanto: Se declara con lugar el procedimiento de revisión y se dispone la absolutoria en favor de Nombre141371 por el delito de violación que se le acusó en perjuicio de Nombre141372 . Se ordena la libertad del imputado si otra causa no lo impide. Comuníquese al Archivo y al Instituto Nacional de Criminología. Notifíquese.\" Tal decisión fue comunicada a las partes en fecha 29 de junio del 2006. (Folios 325-332 del legajo penal) 12) La presente demanda fue presentada en fecha 21 de octubre del 2009, subsanada el 4 de noviembre del 2009 y comunicada al Estado en fecha 3 de diciembre del 2009 (folios 1, 26 y 37 del principal). \n\n II.- Hechos no demostrados. De relevancia para efectos de la presente ser tienen los que de seguido se expresan: 1) Que en la resolución No. 2006-00565 de las 15 horas 10 minutos del 7 de junio del 2006, la Sala Tercera de la Corte Suprema de Justicia haya establecido la existencia de un error judicial grave en la sentencia No. 327-2004 de las 16 horas del 15 de abril del 2004, el Tribunal Penal del Primer Circuito Judicial y en el fallo No. 2004-01100 de las 11 horas 50 minutos del 10 de septiembre del 2004 de dicha Sala. (Análisis del mismo fallo) 2) Que el accionante haya ofrecido como prueba dentro de la audiencia preliminar o en la fase de juicio oral y público del proceso penal tramitado en el expediente 03-013207-0042-PE la deposición testimonial de los señores Nombre141374 y Nombre141375 . (Análisis del auto de elevación a juicio visible a folios 143-144 del expediente penal)\n\n III.- Sobre la defensa de caducidad y prescripción. En la fase de conclusiones, la representación estatal reitera las defensas de caducidad y prescripción invoccdas en la audiencia preliminar celebrada el 9 de junio del 2010 y que fuera rechazadas en la etapa de trámite por resolución de las 15 horas. Señala, la caducidad es evidente siendo que si el actor se sentía agraviado por actuaciones judiciales, debió plantear el proceso de responsabilidad civil del juez previsto en el canon 85 del Código Procesal Civil. Empero, el plazo de 1 año que regula el mandato 87 ibidem, al momento de presentar la demanda está fenecido. Nombre9510, en cuanto a la prescripción, desde la firmeza de la sentencia condenatoria han transcurrido más de los cuatro años que establece el precepto 198 de la Ley General de la Administración Pública. Sobre el particular cabe señalar lo siguiente. En los procesos civiles de hacienda, según lo establece el numeral 41 del Código Procesal Contencioso Administrativo, el plazo máximo para incoar el proceso es el mismo que disponga el ordenamiento como plazo de prescripción del derecho de fondo. Ello supone un análisis en cada caso de la vigencia o no del plazo prescriptivo del derecho de fondo, de manera que en tanto este se encuentre vigente, la vía judicial se encuentra expedita. Desde este plano, es claro que en esta materia, no opera la caducidad de la acción, sino la prescripción del derecho de fondo. En esa línea se ha expresado la Sala Primera de la Corte Suprema de Justicia, entre otras, en el fallo No. 654-2008 de las 10 horas 05 minutos del 26 de septiembre del 2008. Por tanto, la defensa de caducidad debe ser rechazada. Igual suerte debe correr el alegato de caducidad por vencimiento del año previsto en el numeral 87 del Código aludido. El presente proceso no es de responsabilidad civil del juez previsto en los ordinales 85 al 95 del Código Procesal Civil, sino uno de responsabilidad del Estado por función jurisdiccional, por lo que las reglas aplicables no son las invocadas por la abogada estatal, sino las que adelante se dirán. Ahora bien, en cuanto a la prescripción, es claro que el plazo aplicable para la prescripción de la responsabilidad por el ejercicio de la función jurisdiccional, es de cuatro años, por la aplicación a esa materia del numeral 198 de la Ley General de la Administración Pública. Si bien en el caso concreto de esa función jurisdiccional no se establece una norma especial que fije un plazo concreto para esos efectos, es necesario realizar una integración del ordenamiento. En este sentido, en la dinámica, ante esta laguna, debe acudirse al examen de la naturaleza de la relación jurídica debatida, a fin de colegir la nromativa que sea más afin. Así, ante la ausencia de norma expresa en la materia concreta objeto de este fallo, en virtud de los principios de plenitud y coherencia del ordenamiento jurídico, ha de acudirse a los mecanismos de integración para resolver dicha laguna y establecer el plazo más adecuado para esta materia especializada. Para ello debe tenerse claridad en el sentido de que el tipo de responsabilidad acusada es de naturaleza extracontractual, lo que haría inviable la aplicación de enunciados que regulan la prescripción contractual. Tratándose del marco de responsabilidad estatal, deben considerarse, entonces, primero a las fuentes jurídicas que regulan aspectos similares. En ese tanto, de las distintas normas atinentes a la materia de la prescripción, en la medida en que el punto a dilucidar es el deber de reparación a cargo del Estado, debe utilizarse, como mecanismo de integración, el espacio prescriptivo que define el ordenamiento jurídico para supuestos de responsabilidad estatal. Para ello debe partirse de la máxima que la responsabilidad pública se fundamenta en la cláusula general de responsabilidad que establece el canon 9 constitucional. Es evidente que el desarrollo legislativo de este tema se ha dado con mayor énfasis en la Ley General de la Administración Pública, normativa que al margen de regulaciones concretas en materia judicial o legislativa, se ha constituido en la base referencial para el tratamiento del tema en lo atinente al Poder Legislativo y al Judicial. De ahí que por la afinidad de la materia, la regla más próxima que regula el plazo prescriptivo es el precepto 198 de la Ley General de la Administración Pública, que establece un plazo cuatrienal para la prescripción del derecho de reclamo indemnizatorio. Como ha indicado la Sala Primera en el precitado fallo 654-2008: \"De este modo, si el ordenamiento impone, por norma especial, un plazo de cuatro años para reclamar al Estado la indemnización de un daño que ha ocasionado con su proceder, atendiendo al principio de igualdad, por aspectos de certeza y seguridad jurídica, ese mismo plazo es el que resulta aplicable cuando el detrimento provenga del ejercicio de sus funciones jurisdiccionales. De este modo, con base en mecanismos integrativos del Derecho, este órgano colegiado concluye que el plazo aplicable es el cuatrienal señalado, por corresponder a la responsabilidad extracontractual estatal, que por ende, es utilizable en este caso.\" Ahora bien, en la especie, a diferencia de lo argüido por la mandataria estatal el punto de partida del citado plazo prescriptivo, no es la sentencia condenatoria No. 327-2004 del 15 de abril del 2004, ni su confirmación mediante sentencia de casación No. 2004-01100 del 10 de septiembre del 2004. El inicio del cómputo de ese lapso debe tomarse desde la emisión y notificación de la sentencia emitida en el proceso de revisión que dispone la absolutoria del entonces imputado, sea, fallo No. 2006-00565 del 7 de junio del 2006, notificado el 29 de junio de ese mismo año. Es con esa determinación jurisdiccional que el accionante se encuentra en posibilidad de establecer que los efectos de los precedentes judiciales que dispusieron su culpabilidad en el delito de violación en perjuicio de Nombre141372 y ordenaron su aprisionamiento, le han ocasionado, a su decir, un daño por error judicial que el Estado debe indemnizar. Antes de esa circunstancia fáctica, no puede decirse de la existencia de una base objetiva que permita establecer el reclamo de responsabilidad que ahora se dirime en este litigio, por lo que hacer correr el plazo cuatrienal desde fechas previas a la debida notificación del fallo dictado en fase de revisión, resulta contrario a las reglas que se desprenden del citado ordinal 198 de la Ley No. 6227 y expone a quien alega tener un derecho a su fenecimiento por decurso del tiempo, sin contar con posibilidad objetiva de conocer la fuente del daño y reclamar su reparación. Ergo, es desde el 29 de junio del 2006 que ha de computarse el citado plazo de prescripción, por lo que vencimiento ocurriría el 30 de junio del 2010. De la revisión de los autos se desprende que la presente demanda fue presentada en fecha 21 de octubre del 2009, subsanada el 4 de noviembre del 2009 (folios 1 y 26 del principal). El Estado fue notificado de este proceso el 3 de diciembre del 2009, según acta de notificación visible a folio 37 del expediente judicial. Lo anterior pone en evidencia que la demanda de responsabilidad fue presentada y notificada antes del fenecimiento del plazo prescriptivo. Por ende, debe rechazarse la defensa de prescripción planteada por el Estado. \n\n IV.- Responsabilidad del Estado por función jurisdiccional. Fundamento del régimen. El objeto medular de este proceso gravita en torno a la determinación de la existencia o no de responsabilidad que a decir del actor se desprende por haber descontado prisión debido a la sentencia No. 327-2004 de las 16 horas del 15 de abril del 2004 del Tribunal de Juicio del Primer Circuito Judicial de San José, que le declaró responsable del delito de violación en perjuicio de Nombre141372 , por el que se le impuso pena privativa de libertad de 10 años, luego confirmada por el fallo No. 2004-01100 de las 11 horas 50 minutos del 10 de septiembre del 2004 de la Sala Tercera de la Corte Suprema de Justicia. Señala, por sentencia No. 2006-00565 de las 15 horas 10 minutos del 7 de junio del 2006, esa misma Sala, conociendo de un recurso extraordinario de revisión dispuso su absolutoria por el delito de violación en perjuicio de Nombre141372 , ordenando su libertad, si otra causa no lo impide. Pide indemnización por el tiempo en que estuvo encarcelado pese a que luego se dictó la aludida absolutoria. Dada esa temática, es necesario realizar una breve referencia a aspectos medulares en torno a la responsabilidad del Estado en su ejercicio jurisdiccional, con especial énfasis a la que pueda producirse por un error judicial determinado en un proceso de revisión, en los términos del canon 419 del Código Procesal Penal. Las relaciones que se producen entre las personas y los centros de autoridad pública se encuentran sujetas a una serie de principios que configuran la amalgama de derechos y obligaciones que acuden a cada una de las partes involucradas. En esa dinámica, en el marco del Estado Social de Derecho, el numeral 11 de la Carta Magna establece como criterio rector del funcionamiento público el denominado principio de legalidad. Se trata de una máxima que impone el sometimiento del Estado al derecho, y en virtud del cual, todo proceder público debe darse dentro del marco de juridicidad, entendido como el conjunto de fuentes escritas y no escritas (según la escala jerárquica de las fuentes -artículo 7 ibidem) que regulan ese funcionamiento. La alusión al Estado, se hace en su dimensión amplia, esto es, el conjunto de unidades que conforman el Poder Ejecutivo, Legislativo y Judicial, lo que incluye, los órganos de relevancia constitucional. Desde esa arista de examen, el canon 9 de la Carta Magna establece la cláusula general de responsabilidad del Estado, norma que se constituye como una garantía de base que permite a la persona que como consecuencia de una acción u omisión de un centro de poder público que le ha ocasionado un efecto pernicioso que no tenga el deber jurídico de soportar, exigir una reparación de ese efecto lesivo. Así mismo, encuentra desarrollo y complemento en el principio de legalidad (artículo 11), equidad en la distribución de las cargas públicas (ordinales 18 y 33), tutela de las situaciones jurídicas y derechos consolidados (precepto 34), reparación integral del daño (artículo 41), indemnidad patrimonial (canon 45), tutela judicial efectiva (mandato 49), máxima de solidaridad social (74 constitucional), responsabilidad del cargo presidencial (148 ibidem), responsabilidad del Poder Judicial (154 y 166 ejusdem), responsabilidad de las instituciones autónomas (numeral 188). Estas normas constituyen las bases del referido sistema, que exige la reparación económica de las lesiones patrimoniales o extrapatrimoniales ocurridas como derivación de conductas u omisiones públicas, que la víctima no tenga el deber de soportar. El basamento fundamental de esa responsabilidad ha sido tema de desarrollo por parte de la Sala Constitucional, en cuya sentencia no. 5981 de las 15 horas 41 minutos del 7 de noviembre de 1995. En efecto, tal deber resulta ser la consecuencia de un régimen constitucional de garantías que el Ordenamiento otorga a las personas y forman la estructura medular del estado de Derecho, sea: legalidad, control universal de las conductas estatales, distribución de funciones y un sistema de responsabilidad pública. El empoderamiento que se otorga al Estado para el cumplimiento de sus fines, en el marco de sus diversas funciones, ejecutiva, legislativa y judicial, llevan como consecuencia directa, la creación de un sistema de responsabilidad que permita la reparación de los efectos lesivos que su proceder pueda generar en la esfera jurídica de las personas, tutela que comprende, a decir del numeral 49 de la Carta Magna, los derechos subjetivos y los intereses legítimos. Esta temática ha tenido un mayor desarrollo en el caso de la responsabilidad de la Administración Pública, tema incluso regulado en los ordinales 170.1, 190 al 213 de la Ley General de la Administración Pública, y con una amplia evolución en la jurisprudencia patria. Sobre el particular puede verse, entre muchas, el fallo no. 584 de las 10 horas 40 minutos del 11 de agosto del 2005 de la Sala Primera de la Corte Suprema de Justicia. Con todo, la misma Ley General señalada refiere en el artículo 194.3 a la responsabilidad por emisión de ley, abriendo la regulación para la imputación de responsabilidad por el ejercicio parlamentario de creación de leyes. Por paridad de razón y con fundamento en esas mismas normas constitucionales ya apuntadas, el régimen mencionado permite la responsabilidad por omisión legislativa, ley declarada inconstitucional y la aprobación de tratados internacionales. Desde luego que en cada caso, es menester del afectado acreditar la existencia de un daño efectivo, evaluable e individualizable, como presupuesto del deber de reparación. \n\n V.- Este amplio esquema de responsabilidad pública se complementa con la que puede surgir contra el Estado por su función jurisdiccional (que no judicial). En lo fundamental, esta función se ejerce principalmente (no de manera exclusiva) por el Poder Judicial. Conforme a lo estatuido por el mandato 153 de la Constitución Política, en virtud de esa función jurisdiccional, corresponde al Poder Judicial resolver los conflictos de las personas, de manera definitiva, esto es, con autoridad de cosa juzgada y fuerza de verdad legal. Tal ejercicio jurisdiccional puede observarse además en los procesos que corresponde dirimir de manera exclusiva al Tribunal Supremo de Elecciones, en la denominada jurisdicción electoral. Sobre el particular, el canon 220 del Código Electoral, Ley No. 8765 asigna esa competencia jurisdiccional en las siguientes materias: a) El recurso de amparo electoral, b) La impugnación de acuerdos de asambleas de partidos políticos en proceso de constitución e inscripción, c) La acción de nulidad de acuerdos partidarios, d) El recurso de apelación electoral, e) La demanda de nulidad relativa a resultados electorales, f) La cancelación o anulación de credenciales y g) La denuncia por parcialidad o beligerancia política. De ahí que no deba incluirse dentro de la responsabilidad por el ejercicio jurisdiccional, todas las funciones que el ordenamiento atribuye y asigna al Poder Judicial. Desde ese plano, la función medular del juzgador es el control de legalidad y la aplicación del Derecho para la solución de casos concretos a fin de materializar los principios de justicia pronta y cumplida y la tutela judicial efectiva. Ergo, si ostenta esa condición de garante del Ordenamiento, el Derecho debe tutelar las garantías necesarias que permitan la atribución de responsabilidad frente a los errores judiciales. Es claro que tal tipología de responsabilidad no debe confundirse con la responsabilidad civil del juzgador por falta personal, que regula los numerales 85 al 95, ambos inclusive, del Código Procesal Civil. En esta, se trata de una imputación directa al funcionario o funcionaria, por tanto, atiende, en el marco de esa regulación, a un sistema de orientación subjetiva, que requiere de la acreditación del dolo o culpa grave. La responsabilidad por ejercicio jurisdiccional supera ese criterio. Se extiende a un deber que involucra al Estado como tal. En relación, ya la Sala Primera de la Corte Suprema de Justicia, entre otras, en el fallo 1011-2006, estableció que la función jurisdiccional está sujeta a los límites insoslayables que le impone el Ordenamiento Jurídico, de modo que su ejercicio debe ser compatible y armónico con los preceptos constitucionales y legales que en virtud de su naturaleza, debe aplicar a los casos concretos que sean juzgados. Lo anterior se desprende de lo establecido por los numerales 11 y 154 de la carta Magna. En este proceder, es claro que sus acciones, en tanto arbitrarias y contrarias a Derecho, pueden generar perjuicios a las personas, de lo que deriva y se justifica, que es responsable de esas eventuales consecuencias, siempre que dentro de un marco de causalidad, pueda demostrarse que el daño es el resultado de una conducta arbitraria y contraria a Derecho. Así lo ha establecido incluso la misma Sala Constitucional, instancia que sobre el tema de la responsabilidad del Poder Judicial ha señalado, entre otros, en el voto 5981 de las 15 horas 41 minutos del 7 de noviembre de 1995 lo siguiente: \"V. DE LA RESPONSABILIDAD OBJETIVA DEL PODER JUDICIAL. PRINCIPIOS. (…) La responsabilidad del Estado derivada del ejercicio de la función jurisdiccional debe regirse de conformidad con lo establecido en la propia Constitución Política y en la ley, según lo dispuesto en la Carta Fundamental en su artículo 154 (…): \"El Poder Judicial sólo está sometido a la Constitución y a la Ley, y las resoluciones que dicte en los asuntos de su competencia no le imponen otras responsabilidades que las expresamente señaladas por los preceptos legislativos.\"; de lo cual se derivan dos conclusiones básicas: 1.) En primer término, constituye un principio constitucional la responsabilidad directa del Estado en los casos de error judicial y funcionamiento anormal de la administración de justicia, la cual deriva precisamente de lo dispuesto concretamente en el artículo 9 constitucional, (…) en relación con los artículos 11, 33, 41 y 154 constitucionales, y que resulta congruente con los principios del Estado Social de Derecho, precisamente con el de interdicción de arbitrariedad de los poderes públicos, el de seguridad jurídica e igualdad de todos los ciudadanos ante la ley. Esta responsabilidad se justifica por el hecho de que la función de juzgar es manifestación de un Poder, uno de los tres del Estado, lo cual implica su condición de servicio público, de organización de medios materiales y personales destinados a la satisfacción de la demanda social de justicia. En este sentido, en un Estado de Derecho, tanto la función administrativa como la jurisdiccional constituyen modos de ejecución de la ley, y su única distinción consiste en los efectos; a los tribunales de justicia les corresponde la comprobación de los hechos y del derecho mediante fallos que poseen una fuerza especial, el valor jurídico propio que se llama \"cosa juzgada\", en virtud de la cual no puede ser modificada, discutida, retirada, retractada, sino únicamente mediante los recursos establecidos en la ley; la decisión de la Administración no tiene esta fuerza de verdad legal que se le reconoce a la cosa juzgada. Debe tenerse en claro que son dos funciones distintas, ambas responden a fines distintos; mientras que la función administrativa está destinada a proveer a las necesidades de la colectividad, la función jurisdiccional tiene por fin consolidar el orden público con la solución de las diferencias y la sanción a las violaciones de la ley; pero que, por igual están sujetas al régimen de responsabilidad del Estado, por cuanto el daño causado por el ejercicio de cualquiera de estas funciones es imputable a un acto del Estado, y por lo tanto, susceptible de comprometer su responsabilidad. En virtud de lo dispuesto en los transcritos artículos 9 en relación con el 153 constitucionales, en consonancia con el principio general de que \"todo aquel que causa un agravio debe repararlo\", no podría eximirse de responsabilidad al Poder Judicial por el \"error judicial\" en el ejercicio de la función jurisdiccional. Cabe señalar que esta responsabilidad objetiva del Estado resulta complemento de la responsabilidad civil, penal y disciplinaria a que está sujeto el juez, pues éstas no resultan suficientes para garantizar debidamente los intereses de los justiciables, que por las dificultades para su exigencia, convierten en una verdadera carrera de obstáculos la posible reclamación, y en la mayoría de los casos, deja al margen y sin protección aquellas situaciones en las que no es posible apreciar el dolo o culpa del juzgador. La responsabilidad debe provenir de una conducta dolosa o culposa del órgano jurisdiccional, constitutiva o no de delito (responsabilidad por falta).” Sobre el tema, puede consultarse además, de esa misma Sala, resolución no. 5207-2004, de las 14 horas y 55 minutos del 18 de mayo del 2004. \n\nVI.- Con todo, se insiste, no debe confundirse la responsabilidad propia del Poder Judicial en ejercicio jurisdiccional, de las otras facetas de sus competencias, que no se avienen a esa categoría. Por una parte, surge al atinente a la función de administración de justicia, visualizada como servicio público. Se trata del deber de resolver los conflictos de manera objetiva, pronta y oportuna. Ingresan dentro de esta categoría todos aquellos actos no jurisdiccionales emanados de las oficinas que forman parte de lo que en doctrina se ha denominado “Poder Judicial organización”. Es decir, son los órganos y soporte organizacional que permiten el ejercicio de la función jurisdiccional propiamente. Se refiere a los perfiles objetivos de función jurisdiccional: organización y funcionamiento de tribunales, manejo eficiente de despachos, funciones de órganos administrativos. Debe agregarse en este espacio los órganos jurisdiccionales que por imperativo de ley realizan una función de contralor no jerárquico impropio de naturaleza bifásica, como en la actualidad lo hace el Tribunal Contencioso Administrativo respecto de la materia municipal, por imperativo del mandato 189 del Código Procesal Contencioso Administrativo. En este espacio, por tratarse de materia no jurisdiccional, serían de aplicación las normas sobre responsabilidad objetiva de la Ley General de la Administración Pública. En un segundo plano, se ubican las unidades auxiliares que no realizan actividad administrativa típica, pero que en definitiva, no pueden tenerse como un proceder jurisdiccional. Se trata de las denominadas actuaciones judiciales. Es el caso del Organismo de Investigación Judicial, Ministerio Público, Ciencias Forenses, la Defensa Pública entre otros. Estos sirven de apoyo y cumplen un rol auxiliar a la función jurisdiccional, pero sus actos no son considerados como jurisdiccionales en tanto llevan a cabo la tarea de instrucción e investigación. Sus decisiones son actos judiciales estricto sensu. Esta distinción se pone de manifiesto en las regulaciones sobre el procedimiento penal. En el precepto 277 ibidem se establece con toda claridad en su párrafo final, la imposibilidad de que los fiscales realicen actos jurisdiccionales, así como la restricción de los jueces, salvo habilitación legal, de desplegar actos de investigación. Igual sucede con el Ministerio Público, cuyas funciones se pueden observar en los numerales 62, 275, 289, 290 y 291 del Código Procesal Penal, todas relacionadas a sus facultades de investigación y denuncia. De esta distinción ha dado cuenta la Sala Primera de la Corte Suprema de Justicia, entre otras, en el fallo No. 654-2008 de las 10 horas 45 minutos del 26 de septiembre del 2008. Empero, interesa en el particular la que es propia de ese ejercicio jurisdiccional, cuando haya incurrido en error judicial. De este modo, en este último escenario (relevante al presente caso), en tanto exista una lesión antijurídica o ilegítima causada al justiciable, producida como consecuencia de estas competencias, se impone la responsabilidad objetiva del Estado Juez. Como se ha dicho, lo anterior encuentra sustento en los numerales 9, 11, 33, 41 y 154, todos de la Carta Magna, normas que sientan las bases de la responsabilidad por el error judicial, el funcionamiento anormal o ilícito de la función jurisdiccional. \n\nVII.- Ahora bien, al margen de la discusión que pueda generarse en torno a la necesidad o no de que el sistema de responsabilidad por ejercicio jurisdiccional requiera de desarrollo legal concreto, lo cierto del caso es que en determinadas materias, el legislador ha emitido norma expresa que trata la temática de esa responsabilidad y sus diversos presupuestos. Cabe indicar con todo que ya este Tribunal, en la resolución No. 765-2008 del 02 de octubre del 2008, ha externado que al margen del contenido de los preceptos 154 y 166 de la Carta Magna, que hacen presumir de la necesaria producción legislativa para poder imputar responsabilidad por la función jurisdiccional, esa responsabilidad y su correspondiente derecho de reparación integral del daño, encuentra sustento en el mismo derecho de la Constitución, en los ordinales 11, 18, 33, 41, 45, 49, 50, 74, 188. En esa línea, la Sala Primera, en el fallo 1011-2006 ya citado, sobre el particular indicó: \"Ya se ha señalado que dicha responsabilidad deriva del mismo marco del Derecho de la Constitución, como contrapeso relevante en las relaciones del Estado con las personas y como factor de alta trascendencia en la ecuación del Estado de Derecho. A la postre una garantía a favor del justiciable, quien acude al Poder Judicial para que su conflicto sea resuelto conforme a legalidad, depositando así la confianza en esa arista del Poder Público. El principio de responsabilidad estatal que dimana, como regla general, del precepto 9 constitucional y encuentra amparo en otras normas que tutelan las garantías del individuo, no encuentra marcos de excepción. Si bien, en cada ámbito de esa triple dimensión de funciones (ejecutiva, legislativa y judicial) operan matices que exigen un tratamiento concreto en cada contexto, lo cierto del caso es que el Ordenamiento no incorpora cuadros de dispensa, fuera de los supuestos razonables cuando se produzca una lesión antijurídica en su base, vinculada con un proceder público. Los principios que surgen del Derecho de la Constitución dan contenido a dicha responsabilidad, por ende, aún la ausencia de regulación legal, la cual, pese que pueda precisar ese régimen, no limita en modo alguno el deber de indemnizar, cuando resulte pertinente conforme a Derecho. De ahí que no podría sostenerse una “impunidad” del Estado Juez, bajo el fundamento de que carece de desarrollo legal, pues aquella se encuentra establecida por principio, en el marco de la Constitución, a la vez que supondría un quebranto a la seguridad jurídica, el principio de igualdad y al control de la arbitrariedad de los poderes públicos. Así visto, su reconocimiento no está condicionado a la existencia de mandato legal que la regule, ergo, no es óbice lo dispuesto en el artículo 166 ibidem. La responsabilidad aludida se rige por lo estatuido en la Carta Fundamental, es decir, constituye un principio de base constitucional, impuesto por las normas referidas y que busca el control del ejercicio de dicha función y la tutela de los derechos e intereses de los justiciables.\" \n\n VIII.- Dentro de ese conjunto de supuestos en que existe desarrollo legislativo sobre el tema, destaca la materia penal, en la que, existen reglas expresas, concretamente, en el numeral 271 del Código Procesal Penal para el caso de la responsabilidad por el dictado de medidas cautelares arbitrarias y el supuesto de prisión preventiva en un proceso en el que luego que dispone sobreseimiento definitivo o absolutoria con plena demostración de inocencia, el canon 108 del Código Penal que regula la eventual responsabilidad subsidiaria del Estado cuando en virtud de recurso de revisión fuere declarada la inocencia del reo cuando éste obtuviere sentencia absolutoria, después de haber sufrido (más de un año de prisión preventiva y finalmente, conforme al 419 del Código Procesal Penal, que fija la responsabilidad pública por la existencia de error judicial acreditado en una sentencia dictada en proceso de revisión. Estas últimas manifestaciones resultan especialmente relevantes al caso, siendo que son las que resultan de aplicación al caso concreto y que por ende, serán abordadas adelante. Con todo, es necesario precisar los alcances del denominado error judicial. Para ello, debe traerse a colación lo explicado por la Sala Primera en el precitado voto No. 654-2008 en el siguiente sentido: \"Nótese que el numeral 154 de la Carta Magna utiliza el término “resolución”, con lo cual, resultan comprendidos los distintos modelos que integran esta categoría, sea, providencia, autos, autos con carácter de sentencia y sentencias (numeral 153 Código Procesal Civil). Por otro lado, puede darse, se insiste, en tesis de principio, tanto por error judicial como por funcionamiento anormal. El primero, es una especie del género común del funcionamiento anormal, pues bien, todo error judicial supone, teóricamente, una anormalidad en ese funcionamiento (a la postre, la manifestación más trascendente), pero no a la inversa. El error judicial comprende toda decisión jurisdiccional que prive a la persona de uno de sus derechos o intereses legítimos y que resulte errónea o contraria a derecho. Así visto, es exclusivo de la función jurisdiccional, siendo entonces, una modalidad de funcionamiento anormal que solo cabe en esa dimensión. Lo anterior comprende no solo el error de hecho (por equivocado conocimiento o valoración de los hechos, se dicta un fallo no ajustado a la realidad fáctica y que por tal, deviene en injusta), sino el de derecho (como quebranto al Derecho por su indebida interpretación, errónea o falta de aplicación). En este punto, pese a la existencia de todo un sistema recursivo contra esas decisiones, lo determinante es que una vez dado el reconocimiento de ese yerro judicial, se hubieren producido en la esfera jurídica de la persona, como consecuencia de esas deficiencias (nexo causal), daños indemnizables conforme al Ordenamiento Jurídico. Ergo, el error indemnizable no se encuentra limitado a los supuestos concretos en que el ordenamiento prevé dicha consecuencia, ni a la materia penal, como el presente, por una medida cautelar que deriva en improcedente, sino que por el contrario, su aplicación trasciende dichas circunstancias para abarcar la totalidad de la función jurisdiccional, esto es, cualquier resolución, indistintamente de la jurisdicción en la que se emita, puede derivar en el deber de reparación a cargo del Estado si genera un daño antijurídico.\" (El resaltado es propio) \n\n IX.- Sobre los alcances del error judicial. Sin perjuicio de ese desarrollo aludido, es necesario apuntar lo siguiente. Si bien el error judicial permite la reparación del daño ocasionado, es fundamental establecer las implicaciones de ese término. La reparabilidad a la que se hace referencia pende, de manera impostergable, de la acreditación de la existencia de un error judicial en esa decisión jurisdiccional que haya ocasionado una lesión antijurídica en su base. Para ello ha de tenerse claro que el simple hecho de que el destinatario del fallo no comparta su contenido, no supone en modo alguno la existencia de ese criterio de imputación referido. En efecto, como bien se apunta, el error judicial comprende toda decisión jurisdiccional que prive a la persona de uno de sus derechos o intereses legítimos y que resulte errónea o contraria a derecho. Nótese que este concepto es diverso del funcionamiento anormal, por ejemplo, por dilación en la resolución de un determinado caso. En esa última variable, se dan reglas diversas a las que son propias del error judicial, que no resultan relevantes en este proceso. En el tema que interesa (yerro judicial), es indispensable que se haya demostrado su existencia. Lo anterior supone una declaración dentro del propio proceso, o bien, como parte de este, dentro de las fases recursivas que establece el ordenamiento jurídico, que establezca la existencia de una decisión jurisdiccional errónea, contraria a derecho, sea por violación indirecta (de hecho o de derecho), o bien directa (por indebida aplicación, errónea aplicación o defectuosa interpretación) sea de fondo o procesal. Con todo, la sola anulación o revocatoria de una resolución no implica, per se, un yerro de esta naturaleza y mucho menos, una suerte de derecho automático a la indemnización. Para ello, surgen varios presupuestos que condicionan la reparabilidad de la lesión. Por un lado, el error debe ser crasso, esto es, debe tratarse de un defecto palmario, grave y sustancial. En este punto, se reitera, la existencia de la irregularidad debe expresarse mediante una resolución de la propia autoridad (vía revocatoria o nulidad oficiosa), o bien de una instancia de alzada ordinaria, sea, sede apelativa. También resulta factible la declaración mediante el ejercicio de los recursos extraordinarios, sea mediante sentencia de casación o la que se dicte en virtud de un recurso extraordinario de revisión. En esencia, es indispensable que exista una declaración jurisdiccional respecto de un error judicial grave (dentro del mismo proceso por la autoridad competente), con detalle de los aspectos que determinan esa deficiencia, aspecto que incumbe a cada una de las instancias que dado ese esquema recursivo le compete conocer del asunto. Para ello, es menester que se hayan utilizado los recursos o remedios jurisdiccionales que ofrece el ordenamiento para cuestionar la resolución que a criterio del destinatario, le ocasiona daños. Esto es determinante toda vez que la inercia en este derecho, pese a la posibilidad que otorga el plexo normativo para hacer cesar la perturbación, lleva a que los efectos de dicho fallo adquieran firmeza y por ende, sus implicaciones en la esfera jurídica del particular encuentren respaldo en una decisión con autoridad de cosa juzgada material sobre la que no ha existido controversia dentro del proceso, o bien, no al menos formalmente. Es claro que la ausencia de ejercicio recursivo de la decisión que se alega, sea por los recursos ordinarios procedentes (criterio de taxatividad impugnaticia) o bien por los extraordinarios, impide que dentro de la dinámica de los procesos, otra unidad jurisdiccional, revise la decisión del A quo, y en protección de los derechos del justiciable, suprima ese yerro que le afecta, todo por la anuencia tácita del supuesto afectado. En este punto, debe entenderse que la escala recursiva, plasmada en cada régimen procesal, es precisamente una garantía del debido proceso y la herramienta que permite al justiciable, cuestionar la decisión con la cual no concuerda. En esta línea, no podría configurar error indemnizable el que se contenga en una decisión que ha sido impugnada y que no haya surtido efectos, sino solo aquel que ha generado un daño efectivo, evaluable e individualizable, merced de una determinación jurisdiccional que ha producido efectos materiales con resultado lesivo al destinatario en los términos apuntados. Desde luego que aquellas resoluciones que surtan efectos directos, pese haber sido impugnadas por los mecanismos ordinarios (recurso en efecto devolutivo -v.gr., numeral 569 del Código Procesal Civil-), en tanto se acredite un yerro judicial, permiten esa reparación pecuniaria. Lo contrario, esto es, suponer la posibilidad de alegar un error judicial en un proceso de responsabilidad del Estado, sin que exista un fallo de una autoridad superior, o bien, de la misma autoridad que ha reconocido su yerro (revocatoria o nulidad oficiosa), llevaría a permitir que mediante este tipo de procesos civiles de hacienda, se pretenda analizar la legalidad de decisiones jurisdiccionales firmes, con autoridad de cosa juzgada, a contra pelo del sistema recursivo que fija la ley y en pleno desconocimiento de los efectos de esa cosa juzgada material. Cabe recordar que las resoluciones con esa jerarquía solo pueden ser analizadas mediante los recursos extraordinarios (revisión y casación), por lo que aceptar la revisión de esas conductas como presupuesto de una determinación de existencia o no de yerro judicial, no solo quebranta la seguridad y certeza jurídica de la cosa juzgada, sino además, invade las competencias que son propias de las Salas de Casación, aspecto que desde luego, no puede compartir este Tribunal. No corresponde a este Tribunal Contencioso Administrativo calificar las conductas de otras jurisdicciones a fin de establecer si se dictaron con error judicial o no. Ello implicaría, se insiste, la revisión refleja de esos criterios, tema que está reservado a las instancias recursivas competentes, y el ejercicio de una potestad que no puede desprenderse de la competencia genérica que otorga el artículo 2 inciso b) del Código Procesal Contencioso Administrativo -que comprende los reclamos de responsabilidad contra la Administración y en general contra el Estado, en aplicación del canon 49 de la Carta Magna-, por ende, sin base jurídica habilitante. \n\nX.- Cabe insistir, es preciso que el error sea grave, evidente y grosero. No podría considerarse error judicial reparable la sola circunstancia de que en la instancia apelativa o casacional, se opte por un criterio jurídico diverso. Es preciso que la decisión sea abiertamente arbitraria, abiertamente contraria a la legalidad del caso y así se exprese en el fallo que revoca o anula el criterio del A quo. Igual sucede cuando el nuevo criterio se ampare en alegatos no expresados ante el juzgador de instancia (siempre que fueren cuestiones que deban ser debatidas por las partes en aplicación del principio rogatorio), o bien, se fundare en pruebas novedosas aportadas en la fase recursiva. En esos casos, no podría afirmarse la existencia de un error judicial cuando la sentencia cuestionada fue dictada sin contar con esos elementos de convicción o argumentos de fondo que solo pueden ser objeto de pronunciamiento si fueron debatidos por las partes (congruencia), sin que ello suponga un desconocimiento de la máxima iura novit curia. Por tanto, la sola variación de un criterio precedente no lleva, por regla general, a un error judicial indemnizable. Es menester un examen minucioso y casuístico de las particularidades de cada proceso, a fin de establecer si se ha producido ese tipo de yerro que permite hacer surgir la responsabilidad por la función jurisdiccional. Verbigracia, no amerita igual tratamiento un fallo que dispone el remate de un bien dado en garantía de una obligación de crédito ya cancelada por compensación, situación desconocida por el juzgador pese a los constantes alegatos del supuesto deudor y su acreditación dentro del expediente, para resolver que la deuda no está cancelada, disponiendo el remate de la garantía real, que la responsabilidad que se puede producir por el criterio jurídico de considerar vigente una determinada facultad sujeta a plazo prescriptivo, que luego, por valoraciones jurídicas diversas, el Ad quem considera se encuentra prescrita. En el primer caso, es claro que puede configurarse un error indemnizable por el desconocimiento de una situación acreditada en autos, que produjo, en última instancia, el remate del bien. En el segundo, se trata de criterios y valoraciones normativas diversas, a fin de cuentas, independencia de criterio del juzgador, salvo que el aludido fenecimiento sea evidente. No existe yerro judicial indemnizable por la sola disonancia de criterio legal, debe existir una declaración de existencia de un equívoco grave, generador de daños a un tercero. Esto es precisamente el tercer aspecto, sea, la acreditación de que ese criterio que se tuvo por equívoco, produjo un daño concreto. Más simple, debe precisarse que la existencia de ese derecho de reparación se encuentra sujeta, por un lado, a que la resolución que contiene un posible error judicial, haya desplegado sus efectos y con ellos, se haya producido un menoscabo en la esfera jurídica del afectado. Como aspecto adicional, cabe precisar, el error indemnizable no se encuentra limitado a la hipótesis del recurso de revisión, aunque constituye el supuesto en que con mayor probabilidad puede desprenderse. Con todo, en tesis de principio, lo usual es que derive de una decisión jurisdiccional firme que posea autoridad de cosa juzgada. Tampoco es exclusivo de la jurisdicción penal. Es claro que impregna las demás jurisdicciones, pues bien, pese a que la materia penal es en la que se evidencia el desarrollo legal de la figura, ello no implica que no pueda ocurrir en las demás. Este criterio no debe confundirse con el funcionamiento anormal que ocurre en la concepción clásica de falta de funcionamiento, prestación defectuosa o errónea. Así visto, es un término de mayor amplitud, que cubre el supuesto ya comentado de error judicial, pero además, las deficiencias que en términos de prestación deficiente o dilación de justicia, se encuentran vinculadas, en principio, con la arista de administración de justicia o la función judicial, por ende, regulado por el régimen de responsabilidad tratado en la Ley General de la Administración Pública. (Sobre esa precisión, véase la aludida sentencia No. 654-2008 de la Sala Primera de la Corte Suprema de Justicia)\n\n XI.- Sobre la responsabilidad por error judicial acreditado en recurso de revisión. Precisadas las generalidades del sistema de responsabilidad por error judicial y los alcances del error judicial, se ingresa al examen de los alegatos planteados en el caso concreto. El accionante fundamenta su reclamo en lo que considera responsabilidad del Estado juzgador por el error judicial cometido por haberle declarado culpable del delito de violación en perjuicio de Nombre141372 , condenándole a diez años de prisión mediante el fallo No. 327-2004 del Tribunal de Juicio del Primer Circuito Judicial de San José y luego haber sido absuelto por la resolución No. 2006-00565 de la Sala Tercera de la Corte Suprema de Justicia. En lo medular, argumenta, se le impuso la pena sin haber evacuado la prueba ofrecida consistente en el testimonio de Nombre141373 y Nombre141374 . Acusa, se le absolvió sin tomar en cuenta el error cometido por los juzgadores. Dice, al juzgársele la única prueba existente era un parte de la Policía Municipal y el testimonio del denunciante. Indica, en la sentencia que le condenó no se hizo referencia a la inevacuabilidad de la prueba testimonial ofrecida, dejándole en estado de indefensión. Asegura haber sufrido una agresión con arma blanca cuando estaba recluido en fecha 13 de marzo del 2005. Acusa haber descontado prisión preventiva si elementos de prueba que indicaran que había cometido el delito. Asegura, el dictamen de análisis criminalístico emitido por el Departamento de Ciencias Forenses del Organismo de Investigación Judicial se Nombre9510 que no se detectaron células masculinas y concluyó que no se encontraron evidencias de presencia de semen. Expone, esos elementos no le comprometían y no eran fundamento suficiente para imponerle prisión preventiva y mucho menos tenerle como autor responsable de los hechos denunciados. Los alegatos resumidos exigen ingresar al análisis de la figura de la indemnización por error judicial en virtud de la absolutoria dictada en recurso de revisión. Como se ha señalado en los apartes previos, la responsabilidad del Estado en su función jurisdiccional, requiere de la acreditación de un funcionamiento anormal y para lo que viene relevante al presente proceso, de la demostración de un error judicial que haya sido declarado por las autoridades competentes dentro del ejercicio recursivo que cabe contra la resolución. Tal declaración resulta impostergable, considerando que no es resorte de este Tribunal analizar la legalidad, procedencia o no de los pronunciamientos judiciales firmes de otros órganos jurisdiccionales, materia que escapa de la competencia de esta jurisdicción y que solo incumbe a las autoridades a las cuales se haya asignado tal competencia. En este ámbito, la normativa procesal penal regula el tema de la responsabilidad por error judicial, en concreto, cuando en la fase extraordinaria de revisión, se determine que en la sentencia condenatoria, existió error de hecho o de derecho. Sobre este particular, el mandato 419 del Código Procesal Penal indica: “Cuando a causa de la revisión del procedimiento se reconozca un error judicial, a consecuencia del cual el sentenciado descontó una pena que no debió cumplir, o una mayor o más grave de la que le correspondía, el tribunal que conoce de la revisión podrá ordenar el pago de una indemnización a cargo del Estado y a instancia del interesado, siempre que este último no haya contribuido con dolo o culpa a producir el error./ Los jueces que dictaron la sentencia revisada serán solidariamente responsables con el Estado, cuando hayan actuado arbitrariamente o con culpa grave en los términos del artículo 199 de la Ley General de la Administración Pública./ La reparación civil sólo podrá acordarse en favor del condenado o sus herederos legítimos.” (El resaltado no es del original) Del análisis de dicha normativa se desprende la imperiosa necesidad de que la autoridad competente para conocer del recurso de revisión, en este caso, la Sala Tercera de la Corte Suprema de Justicia, haya reconocido la existencia de un error judicial. No obstante, de un análisis minucioso de los autos, no se desprende que dicha Sala, en la sentencia número 2006-00565 de las 15 horas 10 minutos del 7 de junio del 2006 haya decretado la existencia de tal equívoco, presupuesto de la reparación que se peticiona. En efecto, el análisis expresado por ese alto Tribunal, refleja que la absolutoria decretada lo fue por la aceptación de una nueva prueba testimonial que no fue ponderada y evacuada en la fase de juicio ni en sede casacional, sea, la deposición de Nombre141374 , la cual, una vez recibida, llevó al Tribunal a considerar que ante la duda razonable de si el imputado había cometido o no el delito que se le atribuía, lo procedente era la absolutoria. En ese sentido, en lo medular dispuso: \"Confrontada esta prueba testimonial con la de cargo examinada en la sentencia, de los dos oficiales de policía que declararon acerca de lo narrado por el ofendido y de lo dicho por el perjudicado al denunciar, de que había sido objeto de un ataque sexual por un desconocido, encuentra esta Sala que si bien no se demuestra fehacientemente que el hecho no existió o que el imputado no lo realizó, sí tiene la virtud de generar una duda importante sobre las circunstancias en que se da el hecho. (...) Ciertamente, hay un dictamen médico legal que revela que el ofendido presenta fisuras anales, sin embargo, ello por sí mismo no permite derivar las circunstancias en que se le producen. Como corolario de lo dicho, la prueba aportada por el imputado en la revisión, no hace desaparecer el hecho, pero introduce un elemento fundamental que socaba las bases probatorias que dieron origen a la condena, al poner en entredicho las manifestaciones del ofendido en su denuncia, sobre no conocer al encartado y sobre la veracidad del hecho atribuido al encartado, generando una duda sobre lo realmente ocurrido. Nuestro sistema procesal y constitucional exige que una condena se encuentre sustentada en la certeza que arroja la prueba y como en este caso, la prueba aportada en revisión, examinada en relación con la recibida en juicio, ha dejado una duda sobre la responsabilidad del acusado, obliga a aplicar el artículo 9 del Código Procesal Penal que establece que ante la duda sobre cuestiones de hecho debe estarse a lo más favorable para el imputado. En consecuencia, procede acoger la revisión presentada, dejar sin efecto la condena impuesta y en su lugar absolver al imputado Nombre141371 por el delito de violación que se le atribuyó en perjuicio de Nombre141376. Se ordena la libertad del acusado si otra causa no lo impide.\" (El resaltado no es del original) Como se observa, el resultado de absolutoria atendió a un criterio de duda razonable y de in dubio pro reo, derivado de la incorporación de un nuevo elemento de convicción que no se tuvo presente en las fases previas del proceso. Si bien el accionante aduce que desde el inicio del proceso penal ofreció el testimonio del señor Nombre141374 , lo que se puede cotejar en el acta de la audiencia preliminar celebrada a las 15 horas del 27 de febrero del 2004, folios 139-141 de la certificación del expediente penal No. 03-013207-0042-PE y que al no ser evacuada tal prueba se causó indefensión y luego error judicial, lo cierto del caso es que en el auto de apertura a juicio de las 16 horas 04 minutos del 27 de febrero del 2004, en cuanto a esas probanzas testimoniales se indicó: \"Testimonial. (...) Si bien es cierto la defensa mencionó como fundamento de la solicitud de sobreseimiento provisional la entrevista de los señores Nombre141374 y Nombre141375 , es lo cierto que no los ofreció como prueba testimonial (...)\" (Folio 144 del expediente penal) Contra esa decisión no se formuló inconformidad alguna ni en el juicio oral y público celebrado a las 8 horas 40 minutos del 1 de abril del 2004 (folios 163-168 del expediente penal), ni en el recurso de casación que rola a folios 181-200 del legajo penal. No fue sino hasta en recurso de revisión que el accionante ofrece como prueba nueva al testigo Nombre141374 . En la resolución No. 2005-01525 de las 9 horas 35 minutos del 23 de septiembre del 2005, la Sala Tercera admitió el recurso de revisión en cuanto al ofrecimiento aludido del nuevo testimonio (folios 308-310 del legajo penal). En definitiva, según se ha señalado, ponderando la deposición testimonial, junto con las demás probanzas que rolaban en autos penales, dispuso absolver por duda al imputado, ordenando su liberación. Lo anterior implica que el accionante no ofreció formalmente la prueba que luego incorporó en el procedimiento de revisión, ni cuestionó oportunamente el criterio del juzgador de no tener como prueba testimonial las declaraciones de Nombre141374 y Nombre141375 . De lo expuesto se colige que el criterio para ordenar la absolutoria, fue la ponderación de esa nueva prueba ofrecida y admitida (artículo 408 inciso e del Código Procesal Penal). Empero, ello no supone, como afirma el demandante, un error judicial. El nuevo criterio se ampara en la valoración de aspectos demostrativos que no estaban presentes en la sentencia condenatoria. Nótese que incluso el criterio del Tribunal de Juicio fue confirmado por la Sala Tercera mediante resolución No. 2004-01100, reflejando que la valoración fáctica y jurídica realizada con las pruebas que obraban en el expediente en ese momento, estaba apegada a derecho. Esto acredita que en la especie, no ha existido declaración de existencia de un error judicial. El fallo de ese alto Tribunal en procedimiento de revisión no dice de ese yerro, ni puede desprenderlo esta cámara del análisis de los autos. Desde ese plano, resulta inviable la reparación solicitada, siendo que se encuentra ausente el presupuesto básico para disponerla, sea, el criterio de imputación impostergable para tales fines. \n\n XII.- Desde ese plano, ante la ausencia de error judicial y en virtud de la causa de absolutoria, es critrerio de esta Cámara, no cabe indemnización por la prisión a la que fue sometida el demandante, ni por la preventiva impuesta en su momento. En cuanto a la primera, es claro que la prisión a la que fue expuesta el actor como derivación de la sentencia condenatoria y su confirmación en sede casacional, no puede constituirse como parámetro de indemnización en los términos que solicita. Esto dado que fue la duda razonable sobre la comisión del ilícito lo que motivó la liberación, producto de la ponderación de una probanza que no se tuvo a disposición en el juicio oral y público por lo que en los términos ya expuestos, la sentencia condenatoria estaba ajustada a derecho. Fue hasta la emisión del fallo en fase de revisión, y como consecuencia de valoraciones de nuevos elementos de prueba que se le absuelve, lo que implica, la prisión dictada con fundamento en aquel primer fallo, confirmado en casación, estaba amparada a un fallo judicial sobre el que, en definitiva, no se demostró concurrencia de error judicial. Desde ese plano, la prisión fue el resultado de la aplicación de un fallo jurisdiccional firme, que fue acuerpado por la misma Sala Tercera en conocimiento del recurso de casación opuesto por el demandante y que por ende, supone la eficacia de una resolución sobre la cual, no se detectó irregularidad en el análisis fáctico, probatorio o jurídico. Si bien luego se dispuso la absolutoria por los motivos ya harto comentados, ello no dice de que esas decisiones fueras desacertadas con claro error judicial y en esa medida, la prisión que se impuso, como efecto de aquellas, no es base de una posible reparación por criterio de responsabilidad por error judicial. Así, no puede constituirse en parámetro que permita justificar la indemnización pretendida. Lo mismo ocurre con la aludida prisión preventiva. Para los efectos del numeral 108 del Código Penal, no puede considerarse como infundada la medida cautelar de orden personal objeto de comentario. No se desprende de los autos que las medidas de prisión preventiva y sus respectivas prórrogas se hayan dictado de manera arbitraria. Todo lo contrario, cada una de las resoluciones emitidas en ese sentido, sea, fallo de las 11 horas 40 minutos del 13 de julio del 2003, (Folios 8-14 del expediente penal), resolución de las 16 horas 30 minutos del 13 de octubre del 2003 (Folios 42-45 del expediente penal), fueron confirmadas por el Tribunal Penal del Primer Circuito Judicial de San José, por resoluciones de las 8 horas 30 minutos del 01 de agosto del 2003 y No. 999-03 de las 14 horas 30 minutos del 22 de octubre del 2003 respectivamente. Igualmente fundamentada se encuentra la determinación de las 15 horas 45 minutos del 13 de enero del 2004, nuevamente, el Juzgado Penal de San José, decretó la prórroga de la prisión preventiva por un espacio de tres meses, a vencer el 13 de abril del 2004. En todas esas resoluciones se expone un análisis de los presupuestos que dan cabida a este tipo de medida cautelar de orden personal, conforme a los ordinales 238 y 239, ambos del Código Procesal Penal. En esta línea de exposición, la responsabilidad eventual prevista en el artículo 108 de previa mención, solo es viable cuando la absolutoria dispuesta en procedimiento de revisión lo ha sido por criterios de plena demostración de inocencia. De otro modo, esto es, cuando haya atendido a la presunción de inocencia, la jurisprudencia patria ha entendido que la prisión preventiva constituye una importante herramienta para la dinámica de las investigaciones previas y el llevamiento propio del proceso penal. En esa línea, la resolución No. 115 de las 14 horas 30 minutos del 11 de noviembre de 1998 de la Sala Primera, cita en el fallo No. 1011-2006 de ese alto Tribunal, analizando la procedencia de aplicar la responsabilidad a que hace referencia el numeral 108 del Código Penal interpretó: “VIII.- El referido artículo del Código Penal, a la luz de lo expuesto en el considerando próximo anterior, únicamente resultaría aplicable en el evento de haber detención preventiva y, luego se demuestre plenamente la inocencia del imputado. Sólo bajo esta circunstancia, la privación de libertad, proveniente de una necesaria investigación judicial, cabría reputarla injustificada y susceptible de reparación. De otra manera, la acción de la justicia, en terrenos tan escabrosos y siniestros para la sociedad, como lo es el del narcotráfico en la actualidad, se vería ostensiblemente entorpecida. (...) Cuando la absolutoria se obtiene, como ocurre en la especie, en virtud de la aplicación del principio \"in dubio pro reo\", obviamente la inocencia no ha sido indubitablemente demostrada. (...) Por ello, según se expuso en el considerando IV, en esos casos sí existen suficientes motivos para efectuar la investigación del ilícito y, en consecuencia, tomar todas las medidas necesarias, previstas en nuestro ordenamiento jurídico para esos efectos. Entre ellas, la prisión preventiva. Dentro de esos supuestos, no resultan ilegítimas tales medidas, como lo aduce el actor. Por ende, no pueden generar responsabilidad para el Estado o sus servidores.” Ergo, ante la falta de acreditación de plena demostración de inocencia y la no concurrencia de un error judicial en este caso, la reparación resulta improcedente, también por ese concepto. \n\n XIII.- Por último, cabe resaltar, la demanda se dedica a criticar el proceder del Tribunal de Juicio en cuanto al supuesto desconocimiento de prueba testimonial ofrecida en la audiencia preliminar y que luego, fue la que permitió en el procedimiento de revisión, dictar la absolutoria. Las manifestaciones que el accionante formula en este sentido no permiten acreditar la concurrencia de un error judicial que lleve a estimar sus pretensiones. Se trata de un conjunto de reproches cuyo análisis, a tono con lo expuesto, escapa del ámbito de competencia de este Tribunal y que solo es propio y alegable en la dinámica misma del proceso penal. Lo determinante en la especie es que la decisión en sede de revisión atendió a una valoración comprensiva de una nueva prueba que al margen de lo que asevera el demandante, no fue formalmente ofrecida en la etapa de juicio ni en el correspondiente recurso de casación. Ello introdujo un aspecto novedoso, por ende, inaccesible al tribunal sentenciador. Desde ese plano, no se dispone que el criterio previo sea arbitrario. En realidad, el fallo 2006-00565 de la Sala Tercera, hace una nueva valoración del elenco probatorio, para llegar a decisión diversa, lo que no supone, como erradamente afirma el actor, un error judicial que sustente su pedimento. Para ello basta entender que el numeral 408 inciso e del Código Procesal Penal establece como causal de revisión la prueba nueva. Incluso la misma Sala Tercera refiere de manera expresa a esa nueva probanza. Así, no se absuelve por defectos de la sentencia, sino por una mutación de las circunstancias procesales para sustentar el fallo. Así las cosas, los daños liquidados no cuentan con base sólida para ser otorgados, por el contrario, el criterio de imputación en que el actor los ampara, es inexistente, ante lo cual, no se vislumbra nexo de causalidad que permita referir al Estado esas consecuencias perniciosas que se aducen. Tal omisión de causalidad (tan siquiera aparente) dispensa del examen de la existencia o no de los daños alegados, siendo que no son achacables a la parte demandada, por lo que, sin más, la demanda debe ser rechazada en todos sus extremos. \n\n XIV.- Corolario. Sobre las defensas opuestas. La representación estatal formula las excepciones de prescripción y caducidad, así como defensa de falta de derecho. En cuanto a las primeras, por los motivos expuestos en el considerando III, deben ser rechazadas. Sobre la de falta de derecho, conforme a lo expuesto, debe ser acogida. Como se ha expuesto, en la especie no se ha logrado acreditar la existencia de un error judicial que permita sentar las bases para otorgar la reparación peticionada. La absolutoria decretada en fase de revisión atendió a un aspecto novedoso que permite desprender un yerro judicial de las sentencias previas. Así las cosas, lo debido es disponer el rechazo de la demanda en todos sus extremos. \n\n XV.- Costas. De conformidad con el numeral 193 del Código Procesal Contencioso Administrativo, las costas procesales y personales constituyen una carga que se impone a la parte vencida por el hecho de serlo. La manifestación del juzgador sobre este particular deviene en un pronunciamiento de carácter oficioso, salvedad hecha de los motivos tasados previstos en el ordinal 197 de ese mismo Código. La dispensa de esta condena solo es viable cuando hubiere, a juicio del Tribunal, motivo suficiente para litigar o bien, cuando la sentencia se dicte en virtud de pruebas cuya existencia desconociera la parte contraria. En la especie, no encuentra este órgano colegiado motivo para aplicar las excepciones que fija la normativa aplicable y quebrar el postulado de condena al vencido. Por ende, se imponen ambas costas a la parte demandada vencida.\n\n \n\n POR TANTO\n\n \n\n Se rechazan las excepciones de caducidad y prescripción presentadas por la representación estatal. Se acoge la defensa de falta de derecho. Se declara sin lugar en todos sus extremos la demanda incoada por Nombre141371 contra el Estado. Son ambas costas a cargo de la parte actora vencida. \n\n \n\n \n\nNombre65846 \n\n \n\n \n\n \n\nNombre10427 Nombre136069 \n\n \n\n \n\nEXPEDIENTE: 09-002638-1027-CA\n\nASUNTO: PROCESO DE PURO DERECHO\n\nACTOR: Nombre141371 \n\nDEMANDADO: Estado\n\n \n\nIGWTHUP.10",
  "body_en_text": "EXPEDIENTE: 09-002638-1027-CA\n\nMATTER: PURE LAW PROCEEDING\n\nPLAINTIFF: Name141371\n\nDEFENDANT: THE STATE\n\nNo. 2773-2010.\n\nCONTENTIOUS-ADMINISTRATIVE TRIBUNAL, SIXTH SECTION, SECOND JUDICIAL CIRCUIT OF SAN JOSÉ. Goicoechea, at eight hours thirty minutes on the twenty-ninth of July of two thousand ten.\n\nPure law proceeding established by Mr. Name141371, identity card number CED111218, against the State, represented by Prosecutor Clara Villegas Ramírez, identity card number CED89355.\n\nWHEREAS:\n\n1.- Mr. Name141371 files the complaint that has given rise to this proceeding against the State, so that, in essence, the State is ordered in judgment to pay damages caused by the Trial Court of the First Judicial Circuit of San José, for the conviction issued through resolution No. 327-2004 of 16:00 hours on April 15, 2004, due to the judicial error contained therein, by not evacuating the evidence offered at the beginning of the process. As damages, he quantifies the following items: a) moral damage: ¢10,000,000.00 (ten million colones) for the stab wound he claims to have suffered, ¢15,000,000.00 (fifteen million colones) for the prison time served; b) psychological damage: ¢15,000,000.00 (fifteen million colones); c) losses (perjuicios): ¢10,000,000.00 (ten million colones) for the inability to work or obtain sustenance for his subsistence. (Folios 1-7, 26-31 of the main file)\n\n2.- The State representation answered negatively. It raised the defense of lack of right. (Folios 39-57 of the main file). At the preliminary hearing held on June 9, 2010, it raised exceptions of statute of limitations (prescripción) and lapse (caducidad). Said defenses were rejected by the procedural judge through a resolution at 15:00 hours on that date. However, they were reiterated in the conclusions phase of this process. (Recording of the continuation of the preliminary hearing, of June 10, 2010, detail starting at 27 minutes 36 seconds of the audio file of that hearing)\n\n3.- The preliminary hearing established in ordinal 90 of the Contentious-Administrative Procedural Code, which is recorded in the digital system of this Office, was held on June 9, 2010, with the attendance of only the defendant party. Said hearing was suspended and then continued on June 10, 2010. In this latter hearing, this matter was declared as a pure law proceeding and the parties presented conclusions. The respective file was referred to this Sixth Section of the Contentious-Administrative Tribunal for the issuance of the pertinent ruling on July 1, 2010, as recorded in the referral stamp visible on folio 87 verso of the judicial file.\n\n4.- In the proceedings before this Tribunal, no nullities have been observed that must be remedied, and the judgment is issued within the period established for this purpose by numerals 111 of the Contentious-Administrative Procedural Code and 82.4 of the Autonomous Regulation of Organization and Service of the Contentious-Administrative and Civil Treasury Jurisdiction.\n\nCONSIDERING:\n\nI.- Proven facts. The following are relevant for the purposes of this proceeding: 1) By resolution at 11:40 hours on July 13, 2003, issued within criminal case file 03-013207-042-PE, the Extraordinary Duty Criminal Court of San José ordered pre-trial detention (prisión preventiva) for three months from July 13 to October 13, 2003, against Mr. Name141371, for the crime of aggravated robbery and rape to the detriment of Name141372. (Folios 8-14 of the criminal file) 2) By resolution at 8:30 hours on August 1, 2003, the Criminal Tribunal of the First Judicial Circuit of San José confirmed the aforementioned pre-trial detention (prisión preventiva). (Folios 27-28 of the judicial file) 3) By resolution at 16:30 hours on October 13, 2003, the Criminal Court of the First Judicial Circuit of San José ordered the extension of the pre-trial detention (prisión preventiva) for a period of three months from October 13, 2003 to January 13, 2004. (Folios 42-45 of the criminal file) 4) By resolution No. 999-03 at 14:30 hours on October 22, 2003, the Criminal Tribunal of the First Judicial Circuit of San José confirmed the extension of pre-trial detention (prisión preventiva) decreed to the detriment of the plaintiff. (Folios 68-70 of the criminal file) 5) By ruling at 15:45 hours on January 13, 2004, the Criminal Court of San José again decreed the extension of pre-trial detention (prisión preventiva) for a period of three months, to expire on April 13, 2004. (Folios 80-86 of the criminal file) 6) In the medical-legal report DML 8795-03 of August 20, 2003, the Forensic Medical Clinic Section of the Judicial Investigation Agency, after evaluating Mr. Name141372, the affected party within the referenced criminal process, concluded that the affected party had two very superficial recent fissures in the anal area. (Folios 113-114 of the criminal file) 7) In the order remitting to trial (auto de elevación a juicio) at 16:04 hours on February 27, 2004, of the Criminal Court of San José, it is stated: \"OF THE EVIDENCE OFFERED BY THE DEFENSE: (...) Testimonial: Name141373, located in the San Sebastián Detention Center. While it is true that the defense mentioned the interview of Messrs. Name141374 and Name141375 as grounds for the request for provisional dismissal (sobreseimiento provisional), it is also true that they did not offer them as testimonial evidence...\" (Folios 143-144 of the criminal file) 8) By resolution No. 327-2004 at 16:00 hours on April 15, 2004, the Criminal Tribunal of the First Judicial Circuit declared the plaintiff as the responsible actor for the crime of rape committed to the detriment of Name141372, for which, in that capacity, it imposed a sentence of ten years of imprisonment. (Folios 171-179 of the criminal file) 9) By judgment No. 2004-01100 at 11:50 hours on September 10, 2004, the Third Chamber of the Supreme Court of Justice rejected the cassation appeal filed by the accused on May 4, 2004. (Folios 181-200, 217-223 of the criminal file) 10) On June 24, 2005, the plaintiff filed a revision procedure (procedimiento de revisión) against the convictions, which was admitted for study by resolution No. 2005-01525 at 9:35 hours on December 23, 2005, of the Third Chamber, solely regarding the offering of new evidence of the testimony of Mr. Name141374. (Folios 267-273, 308-310 of the criminal file) 11) By ruling No. 2006-00565 at 15:10 hours on June 7, 2006, the Third Chamber of the Supreme Court of Justice ordered: \"Therefore: The revision procedure (procedimiento de revisión) is granted and the acquittal in favor of Name141371 is ordered for the crime of rape for which he was accused to the detriment of Name141372. The release of the accused is ordered if no other cause prevents it. Notify the Archive and the National Institute of Criminology. Notify.\" This decision was communicated to the parties on June 29, 2006. (Folios 325-332 of the criminal file) 12) The present complaint was filed on October 21, 2009, corrected on November 4, 2009, and communicated to the State on December 3, 2009 (folios 1, 26, and 37 of the main file).\n\nII.- Facts not proven. Relevant for the purposes of this case are those expressed below: 1) That in resolution No. 2006-00565 at 15:10 hours on June 7, 2006, the Third Chamber of the Supreme Court of Justice established the existence of a serious judicial error in judgment No. 327-2004 at 16:00 hours on April 15, 2004, of the Criminal Tribunal of the First Judicial Circuit and in ruling No. 2004-01100 at 11:50 hours on September 10, 2004, of said Chamber. (Analysis of the same ruling) 2) That the plaintiff offered as evidence within the preliminary hearing or in the oral and public trial phase of the criminal process processed in file 03-013207-0042-PE the testimonial deposition of Messrs. Name141374 and Name141375. (Analysis of the order remitting to trial (auto de elevación a juicio) visible on folios 143-144 of the criminal file)\n\nIII.- On the defense of lapse (caducidad) and statute of limitations (prescripción). In the conclusions phase, the State representation reiterates the defenses of lapse (caducidad) and statute of limitations (prescripción) invoked in the preliminary hearing held on June 9, 2010, and which were rejected in the procedural stage by resolution at 15:00 hours. They state, the lapse (caducidad) is evident given that if the plaintiff felt aggrieved by judicial actions, they should have filed the civil liability process against the judge provided for in canon 85 of the Civil Procedural Code. However, the 1-year period regulated by mandate 87 ibidem had expired at the time of filing the complaint. Name9510, regarding the statute of limitations (prescripción), from the finality of the conviction, more than the four years established by precept 198 of the General Law of Public Administration have elapsed. Regarding this matter, the following should be noted. In civil treasury processes, as established by numeral 41 of the Contentious-Administrative Procedural Code, the maximum period to initiate the process is the same as the legal system establishes as the statute of limitations (prescripción) period for the substantive right. This entails an analysis in each case of the validity or not of the prescriptive period of the substantive right, so that as long as it is in force, the judicial avenue is available. From this perspective, it is clear that in this matter, the lapse (caducidad) of the action does not operate, but rather the statute of limitations (prescripción) of the substantive right. The First Chamber of the Supreme Court of Justice has expressed itself along these lines, among others, in ruling No. 654-2008 at 10:05 hours on September 26, 2008. Therefore, the defense of lapse (caducidad) must be rejected. The allegation of lapse (caducidad) due to the expiration of the year provided for in numeral 87 of the aforementioned Code must suffer the same fate. The present process is not one of civil liability of the judge provided for in ordinals 85 to 95 of the Civil Procedural Code, but rather one of State liability for jurisdictional function, so the applicable rules are not those invoked by the State attorney, but those that will be stated below. Now, regarding the statute of limitations (prescripción), it is clear that the applicable period for the statute of limitations (prescripción) of liability for the exercise of jurisdictional function is four years, due to the application to that matter of numeral 198 of the General Law of Public Administration. Even though in the specific case of that jurisdictional function, no special rule is established that sets a specific period for those effects, it is necessary to carry out an integration of the legal system. In this sense, in the dynamics, faced with this gap, one must resort to examining the nature of the debated legal relationship, in order to infer the most closely related regulations. Thus, in the absence of an express rule in the specific matter subject to this ruling, by virtue of the principles of completeness and coherence of the legal system, one must resort to the mechanisms of integration to resolve said gap and establish the most appropriate period for this specialized matter. For this, clarity must be had in the sense that the type of liability claimed is of an extracontractual nature, which would make the application of provisions regulating contractual statute of limitations (prescripción) unfeasible. Dealing with the framework of State liability, one must consider, then, first the legal sources that regulate similar aspects. To that extent, of the different rules pertaining to the matter of statute of limitations (prescripción), insofar as the point to be elucidated is the duty of reparation on the part of the State, one must use, as an integration mechanism, the prescriptive period that the legal system defines for cases of State liability. For this, one must start from the maxim that public liability is based on the general liability clause established by canon 9 of the Constitution. It is evident that the legislative development of this topic has occurred with greater emphasis in the General Law of Public Administration, a regulation that, aside from specific regulations in judicial or legislative matters, has become the reference base for the treatment of the topic regarding the Legislative and Judicial Branches. Hence, due to the affinity of the matter, the closest rule regulating the prescriptive period is precept 198 of the General Law of Public Administration, which establishes a four-year period for the statute of limitations (prescripción) of the right to claim compensation. As the First Chamber indicated in the aforementioned ruling 654-2008: \"In this way, if the legal system imposes, by special rule, a period of four years to claim from the State compensation for damage it has caused with its conduct, attending to the principle of equality, for aspects of certainty and legal certainty, that same period is the one applicable when the detriment arises from the exercise of its jurisdictional functions. In this way, based on integrative mechanisms of Law, this collegiate body concludes that the applicable period is the four-year period indicated, as it corresponds to State extracontractual liability, which therefore, is usable in this case.\" Now, in this case, unlike what was argued by the State representative, the starting point of the cited prescriptive period is not the conviction No. 327-2004 of April 15, 2004, nor its confirmation by cassation judgment No. 2004-01100 of September 10, 2004. The beginning of the computation of that period must be taken from the issuance and notification of the judgment issued in the revision process (proceso de revisión) that orders the acquittal of the then-accused, that is, ruling No. 2006-00565 of June 7, 2006, notified on June 29 of that same year. It is with that jurisdictional determination that the plaintiff is in a position to establish that the effects of the judicial precedents that determined his guilt for the crime of rape to the detriment of Name141372 and ordered his imprisonment have caused him, in his opinion, damage due to judicial error that the State must indemnify. Before that factual circumstance, one cannot speak of the existence of an objective basis that allows establishing the liability claim now being resolved in this litigation, so making the four-year period run from dates prior to the proper notification of the ruling issued in the revision phase is contrary to the rules derived from the cited ordinal 198 of Law No. 6227 and exposes the person claiming a right to its expiration due to the passage of time, without having the objective possibility of knowing the source of the damage and claiming its reparation. Ergo, it is from June 29, 2006, that the cited statute of limitations (prescripción) period must be computed, so its expiration would occur on June 30, 2010. From the review of the case file, it is clear that the present complaint was filed on October 21, 2009, corrected on November 4, 2009 (folios 1 and 26 of the main file). The State was notified of this process on December 3, 2009, according to the notification record visible on folio 37 of the judicial file. The foregoing makes it evident that the liability complaint was filed and notified before the expiration of the prescriptive period. Therefore, the defense of statute of limitations (prescripción) raised by the State must be rejected.\n\nIV.- State liability for jurisdictional function. Basis of the regime. The core object of this process revolves around determining the existence or not of liability that, according to the plaintiff, arises from having served prison time due to judgment No. 327-2004 at 16:00 hours on April 15, 2004, of the Trial Court of the First Judicial Circuit of San José, which declared him responsible for the crime of rape to the detriment of Name141372, for which a custodial sentence of 10 years was imposed, later confirmed by ruling No. 2004-01100 at 11:50 hours on September 10, 2004, of the Third Chamber of the Supreme Court of Justice. He states that, by judgment No. 2006-00565 at 15:10 hours on June 7, 2006, that same Chamber, hearing an extraordinary revision appeal (recurso extraordinario de revisión), ordered his acquittal for the crime of rape to the detriment of Name141372, ordering his release, if no other cause prevents it. He requests compensation for the time he was imprisoned even though the aforementioned acquittal was subsequently issued. Given this subject matter, it is necessary to make a brief reference to core aspects regarding State liability in its jurisdictional exercise, with special emphasis on that which may arise from a judicial error determined in a revision process (proceso de revisión), under the terms of canon 419 of the Criminal Procedural Code. The relationships that occur between individuals and public authority centers are subject to a series of principles that constitute the amalgam of rights and obligations that correspond to each of the involved parties. In that dynamic, within the framework of the Social State of Law, numeral 11 of the Magna Carta establishes the so-called principle of legality as a governing criterion for public functioning. It is a maxim that imposes the submission of the State to the law, and by virtue of which, all public conduct must occur within the framework of legality, understood as the set of written and unwritten sources (according to the hierarchical scale of sources - article 7 ibidem) that regulate that functioning. The allusion to the State is made in its broad dimension, that is, the set of units that make up the Executive, Legislative, and Judicial Branches, which includes bodies of constitutional relevance. From that angle of examination, canon 9 of the Magna Carta establishes the general liability clause of the State, a rule that constitutes a base guarantee that allows the person who, as a consequence of an action or omission of a public power center that has caused a pernicious effect that they have no legal duty to bear, to demand reparation for that harmful effect. Likewise, it finds development and complement in the principle of legality (article 11), equity in the distribution of public burdens (ordinals 18 and 33), protection of legal situations and consolidated rights (precept 34), integral reparation of damage (article 41), patrimonial indemnity (canon 45), effective judicial protection (mandate 49), maxim of social solidarity (74 constitutional), liability of the presidential office (148 ibidem), liability of the Judicial Branch (154 and 166 ejusdem), liability of autonomous institutions (numeral 188). These norms constitute the bases of the referred system, which requires the economic reparation of patrimonial or extra-patrimonial injuries occurring as a derivation of public conduct or omissions, which the victim has no duty to bear. The fundamental basis of that liability has been a topic of development by the Constitutional Chamber, in its judgment No. 5981 at 15:41 hours on November 7, 1995. Indeed, such duty turns out to be the consequence of a constitutional regime of guarantees that the Legal System grants to individuals and form the core structure of the rule of law, namely: legality, universal control of State conduct, distribution of functions, and a system of public liability. The empowerment granted to the State for the fulfillment of its ends, within the framework of its various functions, executive, legislative, and judicial, carries as a direct consequence the creation of a liability system that allows the reparation of harmful effects that its conduct may generate in the legal sphere of individuals, protection that includes, according to numeral 49 of the Magna Carta, subjective rights and legitimate interests. This topic has had greater development in the case of liability of the Public Administration, a topic even regulated in ordinals 170.1, 190 to 213 of the General Law of Public Administration, and with extensive evolution in national jurisprudence. On this matter, one can see, among many, ruling No. 584 at 10:40 hours on August 11, 2005, of the First Chamber of the Supreme Court of Justice. Even so, the same General Law refers in article 194.3 to liability for the issuance of law, opening the regulation for the attribution of liability for the parliamentary exercise of creating laws. By parity of reasoning and based on those same constitutional norms already pointed out, the mentioned regime allows liability for legislative omission, law declared unconstitutional, and the approval of international treaties. Of course, in each case, it is necessary for the affected party to prove the existence of effective, evaluable, and individualizable damage, as a precondition for the duty of reparation.\n\nV.- This broad scheme of public liability is complemented by that which may arise against the State for its jurisdictional function (not judicial). Fundamentally, this function is exercised mainly (not exclusively) by the Judicial Branch. According to what is established by mandate 153 of the Political Constitution, by virtue of that jurisdictional function, it corresponds to the Judicial Branch to resolve the conflicts of individuals, definitively, that is, with authority of res judicata (cosa juzgada) and force of legal truth. Such jurisdictional exercise can also be observed in the processes that correspond exclusively to the Supreme Electoral Tribunal to resolve, in the so-called electoral jurisdiction. On this matter, canon 220 of the Electoral Code, Law No. 8765, assigns that jurisdictional competence in the following matters: a) The electoral amparo appeal, b) The challenge of agreements of political party assemblies in the process of constitution and registration, c) The action for annulment of party agreements, d) The electoral appeal, e) The claim for annulment regarding electoral results, f) The cancellation or annulment of credentials, and g) The complaint for partiality or political belligerence. Hence, not all functions that the legal system attributes and assigns to the Judicial Branch should be included within liability for jurisdictional exercise. From that perspective, the core function of the judge is the control of legality and the application of Law for the resolution of specific cases in order to materialize the principles of swift and complete justice and effective judicial protection. Ergo, if they hold that condition of guarantor of the Legal System, the Law must protect the necessary guarantees that allow the attribution of liability for judicial errors. It is clear that such typology of liability should not be confused with the civil liability of the judge for personal fault, which is regulated by numerals 85 to 95, both inclusive, of the Civil Procedural Code. In this, it is a direct attribution to the official or female official, therefore, it attends, within the framework of that regulation, to a system of subjective orientation, which requires proof of intent or gross negligence (dolo o culpa grave). Liability for jurisdictional exercise surpasses that criterion. It extends to a duty that involves the State as such. In relation, the First Chamber of the Supreme Court of Justice, among others, in ruling 1011-2006, established that the jurisdictional function is subject to the unavoidable limits imposed by the Legal System, so its exercise must be compatible and harmonious with the constitutional and legal precepts that, by virtue of its nature, it must apply to the specific cases being judged. The foregoing follows from what is established by numerals 11 and 154 of the Magna Carta. In this conduct, it is clear that its actions, insofar as they are arbitrary and contrary to Law, can generate harm to individuals, from which it derives and is justified that it is liable for those eventual consequences, provided that within a framework of causality, it can be demonstrated that the damage is the result of arbitrary conduct and contrary to Law. Even the Constitutional Chamber itself has established this, an instance that on the topic of the liability of the Judicial Branch has stated, among others, in vote 5981 at 15:41 hours on November 7, 1995, the following: \"V. OF THE OBJECTIVE LIABILITY OF THE JUDICIAL BRANCH. PRINCIPLES. (…) The liability of the State derived from the exercise of the jurisdictional function must be governed in accordance with what is established in the Political Constitution itself and in the law, according to what is provided in the Fundamental Charter in its article 154 (…): 'The Judicial Branch is only subject to the Constitution and the Law, and the resolutions it issues in matters of its competence do not impose on it other responsibilities than those expressly indicated by legislative precepts.'; from which two basic conclusions derive: 1.) Firstly, it constitutes a constitutional principle the direct liability of the State in cases of judicial error and abnormal functioning of the administration of justice, which derives precisely from what is specifically provided in article 9 of the Constitution, (…) in relation to articles 11, 33, 41, and 154 of the Constitution, and that is consistent with the principles of the Social State of Law, precisely with that of prohibition of arbitrariness of public powers, that of legal certainty, and equality of all citizens before the law. This liability is justified by the fact that the function of judging is a manifestation of a Power, one of the three of the State, which implies its condition as a public service, of organization of material and personal means destined for the satisfaction of the social demand for justice. In this sense, in a State of Law, both the administrative function and the jurisdictional function constitute modes of execution of the law, and their only distinction lies in the effects; it corresponds to the courts of justice to verify the facts and the law through rulings that possess a special force, the own legal value called 'res judicata' (cosa juzgada), by virtue of which it cannot be modified, discussed, withdrawn, retracted, except only through the remedies established in the law; the decision of the Administration does not have this force of legal truth that is recognized for res judicata (cosa juzgada). It must be kept clear that they are two distinct functions, both respond to different ends; while the administrative function is destined to provide for the needs of the community, the jurisdictional function has the purpose of consolidating public order with the resolution of disputes and the sanction of violations of the law; but that, equally, they are subject to the State liability regime, since the damage caused by the exercise of either of these functions is attributable to an act of the State, and therefore, capable of compromising its liability. By virtue of what is provided in transcribed articles 9 in relation to 153 of the Constitution, in consonance with the general principle that 'whoever causes an injury must repair it,' the Judicial Branch could not be exempted from liability for 'judicial error' in the exercise of the jurisdictional function. It should be noted that this objective liability of the State is a complement to the civil, criminal, and disciplinary liability to which the judge is subject, since these are not sufficient to adequately guarantee the interests of the litigants, which due to the difficulties for their enforcement, turn the possible claim into a veritable obstacle course, and in the majority of cases, leave aside and without protection those situations in which it is not possible to appreciate the intent or negligence (dolo o culpa) of the judge. The liability must come from intentional or negligent conduct (conducta dolosa o culposa) of the jurisdictional body, whether or not constituting a crime (liability for fault).\" On the subject, one may also consult, from that same Chamber, resolution No. 5207-2004, at 14:55 hours on May 18, 2004.\n\nVI.- Nonetheless, it is insisted, the liability proper to the Judicial Branch in jurisdictional exercise must not be confused with the other facets of its competencies, which do not fit that category. On one hand, that pertaining to the function of administration of justice arises, viewed as a public service. It involves the duty to resolve conflicts in an objective, prompt, and timely manner.\n\nIncluded within this category are all non-jurisdictional acts emanating from the offices that form part of what doctrine has termed the “Judicial Branch organization” (Poder Judicial organización). That is, they are the bodies and organizational support that enable the exercise of the jurisdictional function proper. It refers to the objective profiles of the jurisdictional function: organization and operation of courts, efficient management of judicial offices, functions of administrative bodies. Also to be included in this area are the jurisdictional bodies that, by legal mandate, perform a non-hierarchical oversight function improper to their nature, of a biphasic character, as is currently done by the Administrative Litigation Court (Tribunal Contencioso Administrativo) with respect to municipal matters, by mandate of Article 189 of the Administrative Litigation Procedure Code (Código Procesal Contencioso Administrativo). In this area, since it involves non-jurisdictional matters, the rules on strict liability (responsabilidad objetiva) of the General Public Administration Law (Ley General de la Administración Pública) would apply. On a secondary level are the auxiliary units that do not carry out typical administrative activity, but which, ultimately, cannot be considered jurisdictional conduct. These are the so-called judicial actions. This is the case of the Judicial Investigation Agency (Organismo de Investigación Judicial), the Public Prosecutor's Office (Ministerio Público), Forensic Sciences (Ciencias Forenses), the Public Defender's Office (Defensa Pública), among others. These provide support and fulfill an auxiliary role to the jurisdictional function, but their acts are not considered jurisdictional insofar as they carry out the task of instruction and investigation. Their decisions are judicial acts stricto sensu. This distinction is evident in the regulations on criminal procedure. Article 277 of that same code establishes with complete clarity in its final paragraph the impossibility of prosecutors performing jurisdictional acts, as well as the restriction on judges, except with legal authorization, from carrying out investigative acts. The same occurs with the Public Prosecutor's Office, whose functions can be observed in Articles 62, 275, 289, 290, and 291 of the Criminal Procedure Code (Código Procesal Penal), all related to its investigative and reporting powers. This distinction has been noted by the First Chamber of the Supreme Court of Justice (Sala Primera de la Corte Suprema de Justicia), among others, in ruling No. 654-2008 of 10:45 on September 26, 2008. However, what is of particular interest here is the liability that is inherent to that jurisdictional exercise, when a judicial error (error judicial) has been incurred. Thus, in this latter scenario (relevant to the present case), as long as there is an unlawful or illegitimate injury caused to the litigant, produced as a consequence of these competencies, the strict liability of the State as Judge (Estado Juez) is imposed. As has been stated, the foregoing finds support in Articles 9, 11, 33, 41, and 154, all of the Constitution (Carta Magna), norms that establish the foundations of liability for judicial error and the abnormal or illicit functioning of the jurisdictional function.\n\nVII.- Now, aside from the discussion that may arise regarding the necessity or not for the liability system for jurisdictional exercise to require specific legal development, the truth of the matter is that in certain subject matters, the legislature has issued express norms that address the subject of that liability and its various prerequisites. It should be noted, however, that this Tribunal, in resolution No. 765-2008 of October 2, 2008, has stated that regardless of the content of Articles 154 and 166 of the Constitution, which suggest the necessary legislative production to be able to attribute liability for the jurisdictional function, that liability and its corresponding right to full reparation of the damage finds support in the very law of the Constitution, in Articles 11, 18, 33, 41, 45, 49, 50, 74, 188. In that line, the First Chamber, in the aforementioned ruling 1011-2006, on this matter indicated: \"It has already been pointed out that such liability derives from the very framework of Constitutional Law, as a relevant counterweight in the State's relations with individuals and as a factor of high transcendence in the equation of the Rule of Law. Ultimately, a guarantee in favor of the litigant, who turns to the Judicial Branch so that their conflict is resolved in accordance with legality, thus placing their trust in that facet of Public Power. The principle of state liability that emanates, as a general rule, from Article 9 of the Constitution and finds protection in other norms that safeguard individual guarantees, finds no frameworks of exception. Although, in each sphere of that triple dimension of functions (executive, legislative, and judicial), nuances operate that demand specific treatment in each context, the truth of the matter is that the Legal System does not incorporate frameworks of exemption, outside of reasonable scenarios when an unlawful injury is produced at its base, linked to public conduct. The principles that arise from Constitutional Law give content to said liability; therefore, even the absence of legal regulation, which, although it may specify that regime, in no way limits the duty to compensate, when appropriate according to Law. Hence, one could not sustain an 'impunity' of the State as Judge, based on the argument that it lacks legal development, since that liability is established by principle, within the framework of the Constitution, while also constituting a breach of legal certainty, the principle of equality, and the control of the arbitrariness of public powers. Viewed thus, its recognition is not conditioned on the existence of a legal mandate that regulates it; ergo, the provision in Article 166 of the same code is not an obstacle. The aforementioned liability is governed by what is stipulated in the Constitution, that is, it constitutes a principle of constitutional basis, imposed by the referenced norms and which seeks the control of the exercise of said function and the protection of the rights and interests of the litigants.\"\n\nVIII.- Within that set of scenarios in which there is legislative development on the subject, criminal law stands out, in which there are express rules, specifically, in Article 271 of the Criminal Procedure Code for the case of liability for the issuance of arbitrary precautionary measures and the case of pretrial detention in a process in which a definitive dismissal or acquittal with full demonstration of innocence is subsequently ordered, Article 108 of the Criminal Code which regulates the potential subsidiary liability of the State when, by virtue of a motion for review, the innocence of the defendant is declared when the defendant obtains an acquittal, after having served (more than one year of pretrial detention, and finally, pursuant to Article 419 of the Criminal Procedure Code, which establishes public liability for the existence of judicial error proven in a judgment rendered in a review proceeding. These latter manifestations are especially relevant to the case, as they are the ones applicable to the specific case and which, therefore, will be addressed below. However, it is necessary to specify the scope of the so-called judicial error. To this end, the explanation given by the First Chamber in the aforementioned vote No. 654-2008 must be brought up, in the following sense: \"Note that Article 154 of the Constitution uses the term 'resolution' (resolución), with which the different models comprising this category are included, whether they be decrees, orders, orders with the character of judgments, and judgments (Article 153 Civil Procedure Code). On the other hand, it can occur, it is insisted, in principle thesis, both due to judicial error and due to abnormal functioning. The first is a species of the common genus of abnormal functioning, for it is true that every judicial error theoretically presupposes an abnormality in that functioning (ultimately, the most significant manifestation), but not the reverse. Judicial error encompasses any jurisdictional decision that deprives a person of one of their rights or legitimate interests and that turns out to be erroneous or contrary to law. Viewed thus, it is exclusive to the jurisdictional function, being, therefore, a modality of abnormal functioning that can only occur in that dimension. The foregoing includes not only errors of fact (due to mistaken knowledge or assessment of the facts, a ruling not adjusted to factual reality is issued and which, therefore, becomes unjust), but also errors of law (such as a breach of Law due to its improper interpretation, erroneous application, or lack of application). At this point, despite the existence of an entire system of appeals against those decisions, the determining factor is that once the recognition of that judicial error has occurred, compensable damages must have been produced in the legal sphere of the person, as a consequence of those deficiencies (causal link), in accordance with the Legal System. Ergo, the compensable error is not limited to the specific scenarios in which the system provides for said consequence, nor to criminal law, like the present case, due to a precautionary measure that turns out to be improper, but on the contrary, its application transcends those circumstances to encompass the entirety of the jurisdictional function, that is, any resolution, regardless of the jurisdiction in which it is issued, can result in the duty of reparation on the part of the State if it generates an unlawful injury.\" (Emphasis added)\n\nIX.- Regarding the scope of judicial error. Without prejudice to that aforementioned development, it is necessary to point out the following. Although judicial error allows for reparation of the damage caused, it is fundamental to establish the implications of that term. The reparability referred to depends, unavoidably, on proof of the existence of a judicial error in that jurisdictional decision that has caused an unlawful injury at its base. For this, it must be clear that the mere fact that the recipient of the ruling does not share its content in no way implies the existence of that criterion of attribution referred to. Indeed, as is rightly pointed out, judicial error encompasses any jurisdictional decision that deprives a person of one of their rights or legitimate interests and that turns out to be erroneous or contrary to law. Note that this concept is different from abnormal functioning, for example, due to delay in the resolution of a specific case. In that latter variable, different rules apply from those specific to judicial error, which are not relevant in this proceeding. In the matter of interest (judicial error), it is indispensable that its existence has been demonstrated. The foregoing presupposes a declaration within the proceeding itself, or, as part of it, within the appellate phases established by the legal system, which establishes the existence of an erroneous jurisdictional decision, contrary to law, whether by indirect violation (of fact or of law), or direct violation (due to improper application, erroneous application, or defective interpretation), whether substantive or procedural. However, the mere annulment or revocation of a resolution does not imply, per se, an error of this nature, much less a sort of automatic right to compensation. For this, several prerequisites arise that condition the reparability of the injury. On one hand, the error must be gross, that is, it must be a glaring, serious, and substantial defect. At this point, it is reiterated, the existence of the irregularity must be expressed through a resolution by the authority itself (via revocation or ex officio nullity), or by an ordinary appellate instance, i.e., the appellate body. A declaration is also feasible through the exercise of extraordinary remedies, i.e., by a cassation judgment or one rendered by virtue of an extraordinary motion for review. In essence, it is indispensable that there be a jurisdictional declaration regarding a serious judicial error (within the same proceeding by the competent authority), detailing the aspects that determine that deficiency, a matter incumbent upon each of the instances that, given that appellate scheme, are competent to hear the matter. For this, it is necessary that the litigant has used the jurisdictional remedies or appeals offered by the system to challenge the resolution that, in the recipient's judgment, causes them harm. This is decisive since inaction in this right, despite the possibility granted by the normative body to cease the disturbance, causes the effects of said ruling to become final and, therefore, its implications in the individual's legal sphere find support in a decision with the authority of res judicata (cosa juzgada material), regarding which there has been no controversy within the proceeding, or at least not formally. It is clear that the absence of an appellate challenge to the decision being alleged, whether through the available ordinary remedies (criterion of challenge specificity) or extraordinary ones, prevents, within the dynamics of proceedings, another jurisdictional unit from reviewing the decision of the lower court, and in protection of the litigant's rights, eliminating that error that affects them, all due to the tacit acquiescence of the alleged affected party. In this regard, it must be understood that the appellate scale, embodied in each procedural regime, is precisely a guarantee of due process and the tool that allows the litigant to challenge the decision with which they do not agree. In this line, an error contained in a decision that has been challenged and has not produced effects could not constitute a compensable error, but only that which has generated effective, assessable, and individualizable damage, by virtue of a jurisdictional determination that has produced material effects with an injurious result to the recipient in the stated terms. Of course, those resolutions that produce direct effects, despite having been challenged through ordinary mechanisms (appeal with devolutive effect -e.g., Article 569 of the Civil Procedure Code-), as long as a judicial error is proven, allow for that pecuniary reparation. The opposite, that is, assuming the possibility of alleging a judicial error in a State liability proceeding, without a ruling from a superior authority, or from the same authority that has recognized its error (revocation or ex officio nullity), would lead to allowing, through this type of civil treasury proceedings, an attempt to analyze the legality of firm jurisdictional decisions, with the authority of res judicata, against the grain of the appellate system established by law and in complete disregard of the effects of that res judicata. It should be remembered that resolutions with that hierarchy can only be analyzed through extraordinary remedies (review and cassation), so accepting the review of such conduct as a prerequisite for a determination of the existence or not of judicial error not only breaches the security and legal certainty of res judicata, but also invades the competencies proper to the Cassation Chambers, an aspect that, of course, this Tribunal cannot share. It does not correspond to this Administrative Litigation Court to qualify the conduct of other jurisdictions in order to establish whether they were rendered with judicial error or not. That would imply, it is insisted, the reflective review of those criteria, a matter reserved for the competent appellate instances, and the exercise of a power that cannot be derived from the generic competence granted by Article 2 subsection b) of the Administrative Litigation Procedure Code -which includes claims of liability against the Administration and generally against the State, in application of Article 49 of the Constitution-, therefore, without an enabling legal basis.\n\nX.- It bears insisting, the error must be serious, evident, and gross. The mere circumstance that the appellate or cassation instance opts for a different legal criterion could not be considered a reparable judicial error. It is necessary that the decision be openly arbitrary, openly contrary to the legality of the case, and so expressed in the ruling that revokes or annuls the lower court's criterion. The same occurs when the new criterion is based on arguments not expressed before the trial judge (provided they are issues that must be debated by the parties in application of the party presentation principle), or is based on new evidence provided in the appellate phase. In those cases, the existence of a judicial error could not be affirmed when the challenged judgment was rendered without having those elements of conviction or substantive arguments that can only be the subject of a ruling if they were debated by the parties (congruence), without this implying a disregard of the maxim iura novit curia. Therefore, the mere variation of a preceding criterion does not lead, as a general rule, to a compensable judicial error. A meticulous and case-by-case examination of the particularities of each proceeding is necessary, in order to establish whether that type of error has occurred that gives rise to liability for the jurisdictional function. For example, a ruling ordering the auction of a property given as guarantee for a credit obligation already canceled by compensation, a situation unknown to the judge despite the constant arguments of the alleged debtor and proof thereof in the case file, resolving that the debt is not canceled and ordering the auction of the real guarantee, does not merit the same treatment as the liability that may arise from the legal criterion of considering a certain power subject to a prescriptive period to be still in force, which later, due to different legal assessments, the appellate court considers to be prescribed. In the first case, it is clear that a compensable error may be configured by ignoring a situation proven in the record, which ultimately produced the auction of the property. In the second, it involves different criteria and normative assessments, ultimately, the judge's independence of criterion, unless the aforementioned expiry is evident. There is no compensable judicial error due to the mere dissonance of legal criteria; there must be a declaration of the existence of a serious mistake that generates damages to a third party. This is precisely the third aspect, i.e., proof that that criterion deemed mistaken produced concrete damage. More simply, it must be specified that the existence of that right to reparation is subject, on one hand, to the resolution containing a possible judicial error having deployed its effects and, with them, having produced a detriment in the legal sphere of the affected party. As an additional aspect, it must be specified that the compensable error is not limited to the hypothesis of the motion for review, although that constitutes the scenario in which it most probably can arise. However, in principle thesis, it is usual for it to derive from a firm jurisdictional decision possessing the authority of res judicata. Nor is it exclusive to criminal jurisdiction. It clearly permeates the other jurisdictions, for, despite criminal law being the area where the legal development of the figure is evident, that does not imply it cannot occur in the others. This criterion should not be confused with the abnormal functioning that occurs in the classic conception of non-functioning, defective or erroneous provision. Viewed thus, it is a term of broader scope, covering the already discussed scenario of judicial error, but also the deficiencies that, in terms of deficient provision or delay of justice, are linked, in principle, with the aspect of justice administration or the judicial function, therefore, regulated by the liability regime addressed in the General Public Administration Law. (On that clarification, see the aforementioned judgment No. 654-2008 of the First Chamber of the Supreme Court of Justice)\n\nXI.- Regarding liability for judicial error proven in a motion for review. Having specified the generalities of the liability system for judicial error and the scope of judicial error, we proceed to the examination of the arguments put forward in the specific case. The plaintiff bases his claim on what he considers the liability of the State as judge for the judicial error committed by having declared him guilty of the crime of rape to the detriment of Nombre141372, sentencing him to ten years in prison by ruling No. 327-2004 of the Trial Court of the First Judicial Circuit of San José (Tribunal de Juicio del Primer Circuito Judicial de San José) and later being acquitted by resolution No. 2006-00565 of the Third Chamber of the Supreme Court of Justice (Sala Tercera de la Corte Suprema de Justicia). In essence, he argues that the sentence was imposed without having evacuated the offered evidence consisting of the testimony of Nombre141373 and Nombre141374. He charges that he was acquitted without taking into account the error committed by the judges. He states that when he was judged, the only existing evidence was a report from the Municipal Police and the complainant's testimony. He indicates that the judgment convicting him made no reference to the impossibility of evacuating the offered testimonial evidence, leaving him defenseless. He claims to have suffered an attack with a bladed weapon while confined on March 13, 2005. He charges having served pretrial detention without evidentiary elements indicating he had committed the crime. He affirms that the criminalistic analysis report issued by the Department of Forensic Sciences of the Judicial Investigation Agency identified Nombre9510, that no male cells were detected, and concluded that no evidence of the presence of semen was found. He states that those elements did not compromise him and were not sufficient grounds to impose pretrial detention, much less to hold him as the responsible perpetrator of the reported facts. The summarized arguments require an analysis of the figure of compensation for judicial error by virtue of the acquittal rendered in a motion for review. As indicated in the previous sections, the State's liability in its jurisdictional function requires proof of abnormal functioning and, what is relevant to this proceeding, the demonstration of a judicial error that has been declared by the competent authorities within the appellate process available against the resolution. Such a declaration is unavoidable, considering that it is not the purview of this Tribunal to analyze the legality, appropriateness, or not of the firm judicial pronouncements of other jurisdictional bodies, a matter that escapes the competence of this jurisdiction and concerns only the authorities to which such competence has been assigned. In this area, the criminal procedural regulations govern the issue of liability for judicial error, specifically, when in the extraordinary review phase, it is determined that in the conviction, there was an error of fact or of law. On this point, Article 419 of the Criminal Procedure Code states: “When, due to the review of the proceeding, a judicial error is recognized, as a consequence of which the convicted person served a sentence they should not have served, or a longer or more severe one than corresponded, the court hearing the review may order the payment of compensation charged to the State and at the request of the interested party, provided that the latter has not contributed by fraud or fault to producing the error./ The judges who rendered the reviewed judgment shall be jointly and severally liable with the State, when they acted arbitrarily or with gross fault in the terms of article 199 of the General Public Administration Law./ Civil reparation may only be agreed in favor of the convicted person or their legitimate heirs.” (Emphasis is not from the original) From the analysis of said regulation emerges the imperative need that the authority competent to hear the motion for review, in this case, the Third Chamber of the Supreme Court of Justice, has recognized the existence of a judicial error. Nevertheless, from a meticulous analysis of the case file, it does not emerge that said Chamber, in judgment number 2006-00565 of 3:10 p.m. on June 7, 2006, decreed the existence of such a mistake, a prerequisite for the reparation being requested. Indeed, the analysis expressed by that high Tribunal reflects that the acquittal decreed was due to the acceptance of new testimonial evidence that was neither weighed nor evacuated in the trial phase or in cassation, i.e., the deposition of Nombre141374, which, once received, led the Tribunal to consider that, given the reasonable doubt as to whether the accused had committed the crime attributed to him or not, acquittal was appropriate. In that sense, it essentially ordered: “Confronting this testimonial evidence with the incriminating evidence examined in the judgment, from the two police officers who testified about what was narrated by the victim and what was said by the injured party when reporting that he had been the object of a sexual attack by a stranger, this Chamber finds that, although it is not conclusively demonstrated that the fact did not exist or that the accused did not commit it, it does have the virtue of generating a significant doubt about the circumstances in which the fact occurred. (...) Certainly, there is a medical-legal report that reveals that the victim presents anal fissures; however, that in itself does not allow deducing the circumstances in which they were caused. As a corollary of what has been said, the evidence provided by the accused in the review does not make the fact disappear, but introduces a fundamental element that undermines the evidentiary bases that gave rise to the conviction, by casting doubt on the victim's statements in his report, about not knowing the defendant and about the veracity of the fact attributed to the defendant, generating a doubt about what really occurred. Our procedural and constitutional system requires that a conviction be supported by the certainty that the evidence yields, and since in this case, the evidence provided in the review, examined in relation to that received at trial, has left a doubt about the accused's responsibility, it obliges the application of Article 9 of the Criminal Procedure Code, which establishes that in case of doubt on questions of fact, the most favorable to the accused must be applied. Consequently, it is appropriate to accept the review filed, set aside the imposed sentence, and instead acquit the accused Nombre141371 of the crime of rape attributed to him to the detriment of Nombre141376. The release of the accused is ordered if no other cause prevents it.” (Emphasis is not from the original) As can be observed, the result of acquittal responded to a criterion of reasonable doubt and in dubio pro reo, derived from the incorporation of a new element of conviction that was not present in the prior phases of the proceeding. Although the plaintiff argues that from the beginning of the criminal proceeding he offered the testimony of Mr. Nombre141374, which can be verified in the record of the preliminary hearing held at 3:00 p.m. on February 27, 2004, pages 139-141 of the certification of criminal case file No. 03-013207-0042-PE, and that the failure to evacuate such evidence caused defenselessness and subsequently judicial error, the truth of the matter is that in the order opening trial of 4:04 p.m. on February 27, 2004, regarding those testimonial proofs, it was indicated: “Testimonial. (...) While it is true the defense mentioned the interview of Mr. Nombre141374 and Nombre141375 as grounds for the request for provisional dismissal, it is also true that it did not offer them as testimonial evidence (...)” (Page 144 of the criminal case file) Against that decision, no disagreement was expressed either in the oral and public trial held at 8:40 a.m. on April 1, 2004 (pages 163-168 of the criminal case file), or in the cassation appeal found on pages 181-200 of the criminal docket. It was not until the motion for review that the plaintiff offers as new evidence the witness Nombre141374. In resolution No. 2005-01525 of 9:35 a.m. on September 23, 2005, the Third Chamber admitted the motion for review regarding the aforementioned offering of new testimony (pages 308-310 of the criminal docket). In definitive, as has been indicated, weighing the testimonial deposition, together with the other evidence contained in the criminal proceedings, it ordered the acquittal on grounds of doubt of the accused, ordering his release. The foregoing implies that the plaintiff did not formally offer the evidence that he later incorporated in the review proceeding, nor did he timely challenge the judge's criterion of not considering the statements of Nombre141374 and Nombre141375 as testimonial evidence. From the foregoing, it is inferred that the criterion for ordering the acquittal was the weighing of that new evidence offered and admitted (Article 408 subsection e of the Criminal Procedure Code). However, this does not imply, as the plaintiff claims, a judicial error. The new criterion is based on the assessment of demonstrative aspects that were not present in the conviction. Note that even the criterion of the Trial Court was confirmed by the Third Chamber through resolution No. 2004-01100, reflecting that the factual and legal assessment made with the evidence existing in the file at that time was in accordance with law. This proves that, in this case, there has been no declaration of the existence of a judicial error. The ruling of that high Tribunal in the review proceeding does not speak of such an error, nor can this chamber infer it from the analysis of the case file.\n\nFrom that standpoint, the requested remedy is unfeasible, given that the basic prerequisite for ordering it is absent, namely, the indispensable criterion of imputation (criterio de imputación) for such purposes.\n\nXII.- From that standpoint, in the absence of judicial error (error judicial) and by virtue of the cause for acquittal, it is the view of this Chamber that no compensation is due for the imprisonment to which the plaintiff was subjected, nor for the pretrial detention (prisión preventiva) imposed at the time. With regard to the former, it is clear that the imprisonment to which the plaintiff was exposed as a consequence of the conviction and its confirmation on appeal (sede casacional) cannot constitute a parameter for compensation in the terms requested. This is because it was reasonable doubt as to the commission of the offense that motivated the release, resulting from the weighing of evidence that was not available at the oral and public trial, so that, in the terms already set forth, the conviction was in accordance with the law. It was only upon the issuance of the judgment in the revision phase, and as a result of assessments of new evidentiary elements, that he was acquitted, which implies that the imprisonment ordered based on that first judgment, confirmed on appeal, was protected by a judicial decision in which, definitively, the concurrence of judicial error (error judicial) was not demonstrated. From that standpoint, the imprisonment was the result of the application of a final jurisdictional ruling, which was upheld by the Third Chamber (Sala Tercera) itself when hearing the appeal (recurso de casación) filed by the plaintiff and which, therefore, implies the effectiveness of a resolution in which no irregularity was detected in the factual, evidentiary, or legal analysis. Although the acquittal was subsequently ordered for the reasons extensively discussed, that does not mean those decisions were erroneous with clear judicial error (error judicial), and to that extent, the imprisonment imposed, as an effect of those decisions, is not a basis for possible reparation under the criterion of liability for judicial error (error judicial). Thus, it cannot constitute a parameter that would justify the compensation sought. The same applies with respect to the aforementioned pretrial detention (prisión preventiva). For the purposes of Article 108 of the Penal Code, the personal precautionary measure under discussion cannot be considered unfounded. It cannot be inferred from the case file that the pretrial detention (prisión preventiva) measures and their respective extensions were ordered arbitrarily. Quite the contrary, each of the resolutions issued in that regard, namely, the ruling of 11:40 a.m. on July 13, 2003, (Folios 8-14 of the criminal case file), the resolution of 4:30 p.m. on October 13, 2003 (Folios 42-45 of the criminal case file), were confirmed by the Criminal Trial Court of the First Judicial Circuit of San José (Tribunal Penal del Primer Circuito Judicial de San José), by resolutions of 8:30 a.m. on August 1, 2003, and No. 999-03 of 2:30 p.m. on October 22, 2003, respectively. Equally well-founded is the determination of 3:45 p.m. on January 13, 2004, by which, once again, the Criminal Court of San José ordered the extension of the pretrial detention (prisión preventiva) for a period of three months, to expire on April 13, 2004. In all these resolutions, an analysis is presented of the prerequisites that give rise to this type of personal precautionary measure, in accordance with Articles 238 and 239, both of the Code of Criminal Procedure. Along these lines of argument, the potential liability provided for in the aforementioned Article 108 is only viable when the acquittal ordered in a revision proceeding was based on criteria of full demonstration of innocence. Otherwise, that is, when it was based on the presumption of innocence, national jurisprudence has understood that pretrial detention (prisión preventiva) constitutes an important tool for the dynamics of preliminary investigations and the proper conduct of the criminal process. In that line, Resolution No. 115 of 2:30 p.m. on November 11, 1998, of the First Chamber (Sala Primera), cited in Judgment No. 1011-2006 of that high Court, when analyzing the appropriateness of applying the liability referred to in Article 108 of the Penal Code, interpreted: “VIII.- The aforementioned article of the Penal Code, in light of what was set forth in the immediately preceding recital, would only be applicable in the event of pretrial detention (prisión preventiva) and, subsequently, the full innocence of the accused is demonstrated. Only under this circumstance, could the deprivation of liberty, resulting from a necessary judicial investigation, be considered unjustified and susceptible to reparation. Otherwise, the action of justice, in areas as rough and sinister for society as drug trafficking is today, would be ostensibly hindered. (...) When the acquittal is obtained, as occurs in the present case, by virtue of the application of the principle \\\"in dubio pro reo,\\\" obviously, innocence has not been undoubtedly demonstrated. (...) Therefore, as set forth in recital IV, in such cases there are sufficient grounds to conduct the investigation of the offense and, consequently, to take all necessary measures, provided for in our legal system for those purposes. Among them, pretrial detention (prisión preventiva). Within those scenarios, such measures are not illegitimate, as the plaintiff contends. Therefore, they cannot generate liability for the State or its servants.” Ergo, given the lack of accreditation of full demonstration of innocence and the non-concurrence of a judicial error (error judicial) in this case, reparation is also inappropriate under that concept.\n\nXIII.- Finally, it is worth highlighting that the complaint is dedicated to criticizing the conduct of the Trial Court regarding the alleged disregard of testimonial evidence offered at the preliminary hearing and which subsequently, in the revision proceeding, allowed the acquittal to be ordered. The statements the plaintiff makes in this regard do not allow the concurrence of a judicial error (error judicial) to be accredited that would lead to his claims being upheld. These are a set of reproaches whose analysis, consistent with what has been set forth, falls outside the scope of competence of this Court and can only be proper and arguable within the very dynamics of the criminal process. What is determinative in this case is that the decision in the revision proceeding was based on a comprehensive assessment of new evidence that, regardless of what the plaintiff asserts, was not formally offered at the trial stage or in the corresponding appeal (recurso de casación). This introduced a novel aspect, therefore, inaccessible to the sentencing court. From that standpoint, it cannot be held that the prior criterion was arbitrary. In reality, Judgment 2006-00565 of the Third Chamber (Sala Tercera) makes a new assessment of the body of evidence to arrive at a different decision, which does not imply, as the plaintiff erroneously asserts, a judicial error (error judicial) that supports his petition. To that end, it suffices to understand that Article 408, subsection e) of the Code of Criminal Procedure establishes new evidence as a ground for revision. Even the Third Chamber (Sala Tercera) itself expressly refers to that new evidence. Thus, the acquittal is not due to defects in the sentence, but due to a change in the procedural circumstances underlying the judgment. Thus, the damages calculated do not have a solid basis to be awarded; on the contrary, the criterion of imputation (criterio de imputación) on which the plaintiff bases them is non-existent, in light of which, no causal link (nexo de causalidad) is discerned that would allow attributing those alleged pernicious consequences to the State. This omission of causation (even apparent) dispenses with the examination of the existence or not of the alleged damages, given that they are not attributable to the defendant party, and therefore, without further ado, the complaint must be dismissed in all its aspects.\n\nXIV.- Corollary. Regarding the defenses raised. The State's representation asserts the exceptions of statute of limitations (prescripción) and expiration (caducidad), as well as the defense of lack of right (falta de derecho). With regard to the former, for the reasons set forth in recital III, they must be dismissed. As for the defense of lack of right (falta de derecho), in accordance with what has been set forth, it must be upheld. As has been explained, in this case, it has not been possible to prove the existence of a judicial error (error judicial) that would allow laying the groundwork to grant the requested reparation. The acquittal ordered in the revision phase was based on a novel aspect that prevents inferring a judicial error from the prior sentences. Thus, what is appropriate is to order the dismissal of the complaint in all its aspects.\n\nXV.- Costs (Costas). In accordance with Article 193 of the Contentious-Administrative Procedure Code (Código Procesal Contencioso Administrativo), procedural and personal costs (costas procesales y personales) constitute a burden imposed on the losing party by the very fact of being so. The judge's pronouncement on this matter becomes an ex officio pronouncement, except for the specific grounds provided for in Article 197 of that same Code. The exemption from this condemnation is only viable when, in the Court's judgment, there was sufficient reason to litigate or when the judgment is rendered by virtue of evidence whose existence was unknown to the opposing party. In this case, this collegiate body does not find reason to apply the exceptions established by the applicable regulations and to break the principle of condemnation of the losing party. Therefore, both costs (costas) are imposed on the losing defendant party.\n\nPOR TANTO\n\nThe exceptions of expiration (caducidad) and statute of limitations (prescripción) filed by the State's representation are dismissed. The defense of lack of right (falta de derecho) is upheld. The complaint filed by Nombre141371 against the State is declared without merit in all its aspects. Both costs (costas) are charged to the losing plaintiff party.\n\nNombre65846\n\nNombre10427 Nombre136069\n\nEXPEDIENTE: 09-002638-1027-CA\n\nASUNTO: PROCESO DE PURO DERECHO\n\nACTOR: Nombre141371\n\nDEMANDADO: Estado\n\nIGWTHUP.10\n\n(Folios 113-114 of the criminal case file) **7)** In the order to elevate to trial (auto de elevación a juicio) issued at 4:04 p.m. on February 27, 2004, by the Criminal Court of San José (Juzgado Penal de San José), it is stated: \"***OF THE EVIDENCE OFFERED BY THE DEFENSE:** (...) **Witness testimony (Testimonial):** Nombre141373 , located in the San Sebastián Detention Center (Centro de Reclusión de San Sebastián). While it is true the defense mentioned the interview of Mr. Nombre141374  and Mr. Nombre141375 as grounds for the request for provisional dismissal (sobreseimiento provisional), the fact is that it did not offer them as witness testimony...*\" (Folios 143-144 of the criminal case file) **8)** By resolution No. 327-2004 issued at 4:00 p.m. on April 15, 2004, the Criminal Trial Court of the First Judicial Circuit (Tribunal Penal del Primer Circuito Judicial) declared the claimant the responsible actor for the crime of rape (delito de violación) committed to the detriment of Nombre141372  , and therefore, in that capacity, imposed a sentence of ten years in prison. (Folios 171-179 of the criminal dossier) **9)** By judgment No. 2004-01100 issued at 11:50 a.m. on September 10, 2004, the Third Chamber of the Supreme Court of Justice (Sala Tercera de la Corte Suprema de Justicia) rejected the appeal in cassation (recurso de casación) filed by the accused (imputado) on May 4, 2004. (Folios 181-200, 217-223 of the criminal dossier) **10)** On June 24, 2005, the claimant filed a review procedure (procedimiento de revisión) against the convictions, which was admitted for study by resolution No. 2005-01525 issued at 9:35 a.m. on December 23, 2005, by the Third Chamber, solely regarding the offering of new evidence consisting of the testimony of Mr. Nombre141374 . (Folios 267-273, 308-310 of the criminal case file) **11)** By ruling No. 2006-00565 issued at 3:10 p.m. on June 7, 2006, the Third Chamber of the Supreme Court of Justice ordered: \"*Therefore (Por tanto): The review procedure is declared with merit and the acquittal (absolutoria) is ordered in favor of Nombre141371 for the crime of rape of which he was accused to the detriment of Nombre141372 . The freedom of the accused is ordered if no other cause prevents it. Notify the Archive (Archivo) and the National Institute of Criminology (Instituto Nacional de Criminología). Notify the parties.*\" This decision was communicated to the parties on June 29, 2006. (Folios 325-332 of the criminal dossier) **12)** The present complaint (demanda) was filed on October 21, 2009, corrected on November 4, 2009, and communicated to the State on December 3, 2009 (folios 1, 26, and 37 of the main file).\n\n**II.- Facts not proven.** The following are considered relevant for the purposes of this case: **1)** That in resolution No. 2006-00565 issued at 3:10 p.m. on June 7, 2006, the Third Chamber of the Supreme Court of Justice established the existence of a serious judicial error in judgment No. 327-2004 issued at 4:00 p.m. on April 15, 2004, by the Criminal Trial Court of the First Judicial Circuit and in ruling No. 2004-01100 issued at 11:50 a.m. on September 10, 2004, by said Chamber. (Analysis of the ruling itself) **2)** That the claimant offered as evidence within the preliminary hearing (audiencia preliminar) or in the oral and public trial phase (fase de juicio oral y público) of the criminal process processed in case file 03-013207-0042-PE the witness testimony (deposición testimonial) of Mr. Nombre141374  and Mr. Nombre141375 . (Analysis of the order to elevate to trial visible at folios 143-144 of the criminal case file)\n\n**III.- Regarding the defense of expiration (caducidad) and statute of limitations (prescripción).** In the conclusions phase, the State representation reiterates the defenses of expiration and statute of limitations invoked in the preliminary hearing held on June 9, 2010, and which were rejected in the procedural stage by resolution at 3:00 p.m. It points out that the expiration is evident given that if the actor felt aggrieved by judicial actions, he should have filed the civil liability process against the judge provided for in canon 85 of the Code of Civil Procedure (Código Procesal Civil). However, the 1-year period regulated by mandate 87 ibidem had expired at the time the complaint was filed. Regarding the statute of limitations, it states that more than the four years established by precept 198 of the General Law of Public Administration (Ley General de la Administración Pública) have elapsed since the finality of the conviction. On this matter, the following should be noted. In civil processes involving the Treasury, as established by numeral 41 of the Contentious-Administrative Procedure Code (Código Procesal Contencioso Administrativo), the maximum period to initiate the process is the same as the legal system provides as the statute of limitations period for the substantive right. This implies an analysis in each case of the validity or not of the prescriptive period of the substantive right, so that as long as it remains valid, the judicial route is open. From this standpoint, it is clear that in this matter, the expiration of the action does not apply, but rather the statute of limitations of the substantive right. The First Chamber of the Supreme Court of Justice has expressed itself along these lines, among others, in ruling No. 654-2008 issued at 10:05 a.m. on September 26, 2008. Therefore, the defense of expiration must be rejected. The same fate must befall the allegation of expiration due to the lapse of the year provided in numeral 87 of the aforementioned Code. This process is not one of civil liability of the judge provided for in ordinals 85 to 95 of the Code of Civil Procedure, but one of State liability for jurisdictional function, so the applicable rules are not those invoked by the State attorney, but those that will be stated below. Now, regarding the statute of limitations, it is clear that the applicable period for the statute of limitations for liability arising from the exercise of the jurisdictional function is four years, by application to that matter of numeral 198 of the General Law of Public Administration. Although in the specific case of that jurisdictional function, a special rule establishing a specific period for these purposes is not established, it is necessary to carry out an integration of the legal system. In this sense, in the dynamic, given this gap, one must resort to the examination of the nature of the debated legal relationship, in order to deduce the regulation that is most akin. Thus, in the absence of an express rule in the specific matter subject to this ruling, by virtue of the principles of plenitude and coherence of the legal system, integration mechanisms must be used to resolve this gap and establish the most appropriate period for this specialized matter. For this, it must be clear that the type of liability claimed is extracontractual in nature, which would make the application of statements regulating contractual prescription non-viable. Dealing with the framework of state liability, one must consider, then, first the legal sources that regulate similar aspects. To this extent, from the different rules pertaining to the matter of the statute of limitations, insofar as the point to be elucidated is the duty of reparation on the part of the State, one must use, as an integration mechanism, the prescriptive space that the legal system defines for cases of state liability. For this, one must start from the maxim that public liability is based on the general liability clause established by canon 9 of the Constitution. It is evident that the legislative development of this topic has occurred with greater emphasis in the General Law of Public Administration, a regulation that, apart from specific regulations in judicial or legislative matters, has become the base of reference for the treatment of the topic regarding the Legislative and Judicial Powers. Hence, due to the affinity of the matter, the closest rule regulating the prescriptive period is precept 198 of the General Law of Public Administration, which establishes a four-year period for the statute of limitations of the right to claim compensation. As the First Chamber indicated in the aforementioned ruling 654-2008: \"*In this way, if the legal system imposes, by special rule, a period of four years to claim from the State compensation for a damage it has caused by its conduct, attending to the principle of equality, for reasons of certainty and legal security, that same period is the one applicable when the detriment arises from the exercise of its jurisdictional functions. In this way, based on integrative mechanisms of Law, this collegiate body concludes that the applicable period is the four-year period indicated, as it corresponds to extracontractual state liability, which therefore, is usable in this case.*\" Now, in the present case, unlike what was argued by the State representative, the starting point of the cited prescriptive period is not conviction No. 327-2004 of April 15, 2004, nor its confirmation by cassation judgment No. 2004-01100 of September 10, 2004. The start of the computation of that period must be taken from the issuance and notification of the judgment issued in the review process that orders the acquittal of the then-accused, that is, ruling No. 2006-00565 of June 7, 2006, notified on June 29 of that same year. It is with that jurisdictional determination that the claimant is in a position to establish that the effects of the judicial precedents that determined his guilt in the crime of rape to the detriment of Nombre141372    and ordered his imprisonment, have caused him, as he alleges, damage due to judicial error that the State must compensate. Before that factual circumstance, one cannot speak of the existence of an objective basis that allows the establishment of the liability claim now being resolved in this litigation, so starting the four-year period from dates prior to the proper notification of the ruling issued in the review phase is contrary to the rules derived from the cited ordinal 198 of Law No. 6227 and exposes the person who claims to have a right to its expiration due to the passage of time, without having the objective possibility of knowing the source of the damage and claiming its reparation. Ergo, it is from June 29, 2006, that the cited period of statute of limitations must be computed, therefore, its expiration would occur on June 30, 2010. A review of the case files shows that the present complaint was filed on October 21, 2009, corrected on November 4, 2009 (folios 1 and 26 of the main file). The State was notified of this process on December 3, 2009, according to the notification record visible at folio 37 of the judicial file. The foregoing demonstrates that the liability complaint was filed and notified before the expiration of the prescriptive period. Therefore, the defense of statute of limitations raised by the State must be rejected.\n\n**IV.- State Liability for jurisdictional function.** **Basis of the regime.** The core object of this process revolves around the determination of the existence or not of liability that, according to the actor, arises from having served prison time due to judgment No. 327-2004 issued at 4:00 p.m. on April 15, 2004, by the Trial Court of the First Judicial Circuit of San José, which declared him responsible for the crime of rape to the detriment of Nombre141372  , for which a custodial sentence of 10 years was imposed, later confirmed by ruling No. 2004-01100 issued at 11:50 a.m. on September 10, 2004, by the Third Chamber of the Supreme Court of Justice. He points out that, by judgment No. 2006-00565 issued at 3:10 p.m. on June 7, 2006, that same Chamber, hearing an extraordinary review appeal (recurso extraordinario de revisión), ordered his acquittal for the crime of rape to the detriment of Nombre141372  , ordering his release, if no other cause prevents it. He requests compensation for the time he was incarcerated even though the aforementioned acquittal was later issued. Given this subject matter, it is necessary to make a brief reference to core aspects regarding State liability in the exercise of its jurisdictional function, with special emphasis on that which may arise from a judicial error determined in a review process, under the terms of canon 419 of the Code of Criminal Procedure (Código Procesal Penal). The relationships that occur between individuals and the centers of public authority are subject to a series of principles that configure the amalgam of rights and obligations that apply to each of the involved parties. In this dynamic, within the framework of the Social State of Law, numeral 11 of the Magna Carta establishes the so-called principle of legality as the guiding criterion for public functioning. It is a maxim that imposes the subjection of the State to the law, and by virtue of which, all public conduct must occur within the framework of legality, understood as the set of written and unwritten sources (according to the hierarchical scale of sources - Article 7 ibidem) that regulate that functioning. The reference to the State is made in its broad dimension, that is, the set of units that make up the Executive, Legislative, and Judicial Powers, which includes the organs of constitutional relevance. From that angle of examination, canon 9 of the Magna Carta establishes the general liability clause of the State, a norm that constitutes a basic guarantee that allows a person who, as a consequence of an action or omission of a center of public power that has caused a pernicious effect which they have no legal duty to bear, to demand reparation for that harmful effect. Likewise, it finds development and complement in the principle of legality (Article 11), equity in the distribution of public burdens (ordinals 18 and 33), protection of legal situations and consolidated rights (precept 34), integral reparation of damage (Article 41), financial indemnity (canon 45), effective judicial protection (mandate 49), maxim of social solidarity (74 constitutional), responsibility of the presidential office (148 ibidem), responsibility of the Judicial Power (154 and 166 ejusdem), responsibility of autonomous institutions (numeral 188). These norms constitute the bases of the referred system, which demands economic reparation for the pecuniary or non-pecuniary injuries occurring as a derivation of public conduct or omissions, which the victim has no duty to bear. The fundamental basis of that liability has been a subject of development by the Constitutional Chamber (Sala Constitucional), in its judgment no. 5981 issued at 3:41 p.m. on November 7, 1995. In effect, such duty turns out to be the consequence of a constitutional regime of guarantees that the Legal System grants to individuals and forms the core structure of the rule of law, that is: legality, universal control of state conducts, distribution of functions, and a system of public liability. The empowerment granted to the State for the fulfillment of its purposes, within the framework of its various functions—executive, legislative, and judicial—carries as a direct consequence the creation of a liability system that allows the reparation of harmful effects that its conduct may generate in the legal sphere of individuals, a protection that encompasses, according to numeral 49 of the Magna Carta, subjective rights and legitimate interests. This topic has had greater development in the case of the liability of the Public Administration, a subject even regulated in ordinals 170.1, 190 to 213 of the General Law of Public Administration, and with broad evolution in national jurisprudence. On this matter, one may see, among many others, ruling no. 584 issued at 10:40 a.m. on August 11, 2005, by the First Chamber of the Supreme Court of Justice. Even so, the same General Law referred to in Article 194.3 refers to liability for the issuance of a law, opening the regulation for the attribution of liability for the parliamentary exercise of law creation. By parity of reasoning and based on those same constitutional norms already noted, the mentioned regime allows for liability for legislative omission, law declared unconstitutional, and approval of international treaties. Of course, in each case, it is the duty of the affected party to prove the existence of an effective, assessable, and individualizable damage, as a prerequisite for the duty of reparation.\n\n**V.-** This broad scheme of public liability is complemented by that which may arise against the State due to its jurisdictional (not judicial) function (función jurisdiccional). Fundamentally, this function is exercised mainly (not exclusively) by the Judicial Power. In accordance with what is established by mandate 153 of the Political Constitution, by virtue of that jurisdictional function, it is the responsibility of the Judicial Power to resolve the conflicts of individuals, definitively, that is, with the authority of res judicata (cosa juzgada) and the force of legal truth. Such jurisdictional exercise can also be observed in the processes that the Supreme Electoral Tribunal (Tribunal Supremo de Elecciones) is required to resolve exclusively, in the so-called electoral jurisdiction. On this matter, canon 220 of the Electoral Code (Código Electoral), Law No. 8765, assigns that jurisdictional competence in the following matters: **a)** The electoral amparo appeal (recurso de amparo electoral), **b)** The challenge of agreements of political party assemblies in the process of constitution and registration, **c)** The nullity action against party agreements, **d)** The electoral appeal (recurso de apelación electoral), **e)** The relative nullity claim regarding electoral results, **f)** The cancellation or annulment of credentials, and **g)** The complaint for political partiality or belligerence. Hence, not all functions that the legal system attributes and assigns to the Judicial Power should be included within the liability for the jurisdictional exercise. From that standpoint, the core function of the judge is the control of legality and the application of the Law to solve specific cases in order to materialize the principles of prompt and complete justice and effective judicial protection. Ergo, if the judge holds that condition of guarantor of the Legal System, the Law must protect the necessary guarantees that allow the attribution of liability for judicial errors. It is clear that this type of liability should not be confused with the civil liability of the judge for personal fault, which is regulated by numerals 85 to 95, both inclusive, of the Code of Civil Procedure. In this case, it involves a direct attribution to the official, therefore, it attends, within the framework of that regulation, to a system of subjective orientation, which requires proof of intent or gross negligence (dolo o culpa grave). Liability for jurisdictional exercise surpasses that criterion. It extends to a duty that involves the State as such. In relation to this, the First Chamber of the Supreme Court of Justice, among others, in ruling 1011-2006, established that the jurisdictional function is subject to the unavoidable limits imposed by the Legal System, so its exercise must be compatible and harmonious with the constitutional and legal precepts that, by virtue of its nature, it must apply to the specific cases being judged. The foregoing is derived from what is established by numerals 11 and 154 of the Magna Carta. In this conduct, it is clear that its actions, insofar as they are arbitrary and contrary to Law, can generate damages to individuals, from which it derives and is justified that it is responsible for those eventual consequences, provided that within a framework of causality, it can be demonstrated that the damage is the result of arbitrary conduct contrary to Law. This has even been established by the Constitutional Chamber itself, which, on the topic of the liability of the Judicial Power, has stated, among others, in vote (voto) 5981 issued at 3:41 p.m. on November 7, 1995, the following: \"*V. OF THE OBJECTIVE LIABILITY OF THE JUDICIAL POWER. PRINCIPLES.*\"\n\n(…) The State's liability arising from the exercise of the jurisdictional function must be governed in accordance with the provisions of the Political Constitution itself and the law, as stipulated in the Fundamental Charter in its article 154 (…): \"The Judicial Branch is subject only to the Constitution and the Law, and the resolutions it issues in matters within its competence impose no other responsibilities than those expressly indicated by legislative precepts.\"; from which two basic conclusions are derived: 1.) First, it constitutes a constitutional principle that the State is directly liable in cases of judicial error and abnormal functioning of the administration of justice, which derives precisely from what is specifically provided in article 9 of the Constitution, (…) in relation to articles 11, 33, 41, and 154 of the Constitution, and which is consistent with the principles of the Social State of Law, precisely with the prohibition of arbitrariness of public powers, the principle of legal certainty, and the equality of all citizens before the law. This liability is justified by the fact that the function of judging is a manifestation of a Power, one of the three of the State, which implies its condition as a public service, an organization of material and personal resources intended to satisfy the social demand for justice. In this sense, in a State of Law, both the administrative function and the jurisdictional function constitute modes of executing the law, and their only distinction lies in their effects; the courts of justice are responsible for determining the facts and the law through rulings that possess a special force, the legal value called \"res judicata,\" by virtue of which they cannot be modified, discussed, withdrawn, or retracted, except solely through the remedies established by law; the Administration's decision does not have this force of legal truth that is recognized for res judicata. It must be clear that these are two distinct functions, both responding to different purposes; while the administrative function is intended to meet the needs of the community, the jurisdictional function aims to consolidate public order by resolving differences and sanctioning violations of the law; but they are equally subject to the State's liability regime, since the damage caused by the exercise of any of these functions is attributable to an act of the State, and therefore, capable of engaging its liability. By virtue of the provisions of the transcribed articles 9 in relation to 153 of the Constitution, in accordance with the general principle that \"anyone who causes an injury must repair it,\" the Judicial Branch could not be exempted from liability for \"judicial error\" in the exercise of the jurisdictional function. It should be noted that this objective liability of the State is a complement to the civil, criminal, and disciplinary liability to which the judge is subject, as these are not sufficient to adequately guarantee the interests of the parties seeking justice, which, due to the difficulties in demanding them, turn a possible claim into a true obstacle course, and in most cases, marginalize and leave unprotected those situations in which it is not possible to assess the intent or fault of the judge. Liability must arise from intentional or negligent conduct by the jurisdictional organ, whether or not it constitutes a crime (liability for fault).” </span><span style=\"font-family:Arial\">On this subject, one may also consult, from that same Chamber, resolution No. 5207-2004, at 14 hours and 55 minutes on May 18, 2004. </span></p><p style=\"margin-top:0pt; margin-bottom:0pt; text-indent:34pt; line-height:150%\"><span style=\"font-family:Arial; font-weight:bold\">VI.-</span><span style=\"font-family:Arial; color:#010101\"> Nevertheless, it is insisted, the liability specific to the Judicial Branch in its jurisdictional exercise must not be confused with the other facets of its competencies, which do not conform to that category. On the one hand, the matter pertaining to the function of the administration of justice, viewed as a public service, arises. This concerns the duty to resolve conflicts objectively, promptly, and timely. Entering into this category are all those non-jurisdictional acts emanating from the offices that form part of what doctrine has termed \"Judicial Branch organization.\" That is, they are the organs and organizational support that enable the proper exercise of the jurisdictional function. It refers to the objective profiles of the jurisdictional function: organization and functioning of courts, efficient management of judicial offices, functions of administrative organs. Also to be included in this area are the jurisdictional organs that, by legal mandate, perform a non-hierarchical, improper oversight function of a biphasic nature, as currently</span><span style=\"font-family:Arial; color:#010101\"> </span><span style=\"font-family:Arial; color:#010101\"> done by the Tribunal Contencioso Administrativo regarding municipal matters, by mandate of article 189 of the Código Procesal Contencioso Administrativo. In this area, as it involves non-jurisdictional matters, the provisions on objective liability of the Ley General de la Administración Pública would be applicable. On a second level, there are the auxiliary units that do not perform typical administrative activity but which, ultimately, cannot be considered a jurisdictional procedure. These are the so-called judicial actions. This is the case of the Organismo de Investigación Judicial (OIJ), Ministerio Público, Ciencias Forenses, the Defensa Pública, among others. These provide support and fulfill an auxiliary role to the jurisdictional function, but their acts are not considered jurisdictional insofar as they carry out the task of instruction and investigation. Their decisions are judicial acts stricto sensu. This distinction is evident in the regulations on criminal procedure. In precept 277 ibidem, its final paragraph clearly establishes the impossibility for prosecutors to perform jurisdictional acts, as well as the restriction on judges, except with legal authorization, from carrying out investigative acts. The same applies to the Ministerio Público, whose functions can be observed in numerals 62, 275, 289, 290, and</span><span style=\"font-family:Arial; color:#010101\"> </span><span style=\"font-family:Arial; color:#010101\"> 291 of the Código Procesal Penal, all related to its powers of investigation and complaint. This distinction has been noted by the Sala Primera de la Corte Suprema de Justicia, among others, in ruling No. 654-2008 at 10 hours and 45 minutes on September 26, 2008. However, what is of interest in this matter is the liability specific to that jurisdictional exercise, when it has incurred judicial error. Thus, in this latter scenario (relevant to the present case), as long as there is an unlawful or illegitimate injury caused to the party seeking justice, produced as a consequence of these competencies, the objective liability of the State-Judge is imposed. As has been said, the foregoing is supported by numerals 9, 11, 33, 41, and 154, all of the Carta Magna, norms that lay the foundations for liability for judicial error, the abnormal or illicit functioning of the jurisdictional function. </span></p><p style=\"margin-top:0pt; margin-bottom:0pt; text-indent:34pt; line-height:150%\"><span style=\"font-family:Arial; font-weight:bold; color:#010101\">VII.- </span><span style=\"font-family:Arial; color:#010101\">Now then, apart from the discussion that may arise regarding whether or not the system of liability for the jurisdictional exercise requires specific legislative development, the fact of the matter is that in certain areas, the legislator has issued express norms dealing with the subject of that liability and its various presuppositions. It must be noted, however, that this Court, in resolution No. 765-2008 of October 2, 2008, has expressed that regardless of the content of precepts 154 and 166 of the Carta Magna, which presume the necessity of legislative output to be able to attribute liability for the jurisdictional function, that liability and its corresponding right to full reparation of the damage find support in the very law of the Constitution, in articles 11, 18, 33, 41, 45, 49, 50, 74, 188.</span><span style=\"font-family:Arial; color:#010101\"> </span><span style=\"font-family:Arial; color:#010101\"> Along these lines, the Sala Primera, in the aforementioned ruling 1011-2006, indicated on this point: \"</span><span style=\"font-family:Arial; font-style:italic; color:#010101\">It has already been pointed out that said liability derives from the very framework of Constitutional Law, as a relevant counterweight in the relations of the State with individuals and as a factor of high importance in the equation of the State of Law. Ultimately, a guarantee in favor of the party seeking justice, who turns to the Judicial Branch so that their conflict may be resolved in accordance with legality, thus placing their trust in that facet of Public Power. The principle of State liability that emanates, as a general rule, from constitutional precept 9 and finds protection in other norms that safeguard the guarantees of the individual, does not find frameworks of exception. While, in each sphere of that triple dimension of functions (executive, legislative, and judicial), nuances operate that require specific treatment in each context, the fact of the matter is that the Legal System does not incorporate frameworks of exemption, beyond the reasonable assumptions when an unlawful injury at its base is produced, linked to a public procedure. The principles arising from Constitutional Law give content to said liability; therefore, even the absence of legal regulation, which, although it may specify that regime, does not in any way limit the duty to indemnify, when pertinent in accordance with Law. Hence, one could not sustain an \"impunity\" of the State-Judge, on the grounds that it lacks legislative development, because the former is established in principle, within the framework of the Constitution, while at the same time it would entail a breach of legal certainty, the principle of equality, and the control of the arbitrariness of public powers. Viewed this way, its recognition is not conditioned upon the existence of a legal mandate regulating it, ergo, the provisions of article 166 ibidem are not an obstacle. The aforementioned liability is governed by what is established in the Fundamental Charter, that is, it constitutes a principle of constitutional basis, imposed by the referenced norms and which seeks the control of the exercise of said function and the protection of the rights and interests of those seeking justice.</span><span style=\"font-family:Arial; color:#010101\">\" </span></p><p style=\"margin-top:0pt; margin-bottom:0pt; line-height:150%\"><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\">VIII.- </span><span style=\"font-family:Arial; color:#010101\">Within that set of assumptions where there is legislative development on the subject, criminal law stands out, in which there are express rules, specifically, in numeral 271 of the Código Procesal Penal for the case of liability for the issuance of arbitrary precautionary measures and the assumption of pretrial detention in a proceeding where a definitive dismissal or acquittal with full demonstration of innocence is later ordered, canon 108 of the Código Penal which regulates the eventual subsidiary liability of the State when, by virtue of a motion for review, the innocence of the accused is declared when they obtain an acquittal, after having suffered more than one year of pretrial detention, and finally, in accordance with article 419 of the Código Procesal Penal, which establishes public liability for the existence of judicial error accredited in a judgment issued in a review proceeding. These last manifestations are especially relevant to the case, being those that are applicable to the specific case and which, therefore, will be addressed below. Nevertheless, it is necessary to specify the scope of what is called judicial error. For this, what was explained by the Sala Primera in the aforementioned vote No. 654-2008 in the following sense must be brought up: \"</span><span style=\"font-family:Arial; font-style:italic; color:#010101\">Note that numeral 154 of the Carta Magna uses the term \"resolution,\" with which the different models that make up this category are included, be it a decree (providencia), interlocutory order (auto), interlocutory orders having the character of a judgment (autos con carácter de sentencia), and judgments (sentencias) (numeral 153 Código Procesal Civil). On the other hand, it can occur, it is insisted, in thesis of principle, both due to judicial error and due to abnormal functioning. The first is a species of the common genus of abnormal functioning, for, indeed, every judicial error theoretically supposes an abnormality in that functioning (ultimately, the most significant manifestation), but not the reverse. Judicial error encompasses any jurisdictional decision that deprives a person of one of their legitimate rights or interests and that is erroneous or contrary to law. Viewed this way, it is exclusive to the jurisdictional function, being, therefore, a modality of abnormal functioning that only fits in that dimension. The foregoing includes not only errors of fact (due to mistaken knowledge or assessment of the facts, a ruling is issued that does not conform to factual reality and which, as such, becomes unjust), but also errors of law (such as a violation of the Law due to its improper interpretation, erroneous application, or lack of application). </span><span style=\"font-family:Arial; font-weight:bold; font-style:italic; text-decoration:underline; color:#010101\">At this point, despite the existence of an entire system of appeals against those decisions, the determining factor is that once the recognition of that judicial error has occurred, damages compensable under the Legal System must have been produced in the legal sphere of the person, as a consequence of those deficiencies</span><span style=\"font-family:Arial; font-style:italic; color:#010101\"> (causal link). Ergo, the compensable error is not limited to the specific assumptions where the legal system provides for said consequence, nor to criminal matters, as in the present case, due to a precautionary measure that turns out to be improper, but on the contrary, its application transcends those circumstances to encompass the entirety of the jurisdictional function, that is, any resolution, regardless of the jurisdiction in which it is issued, may result in the duty of reparation chargeable to the State if it generates an unlawful damage.</span><span style=\"font-family:Arial; color:#010101\">\" (Emphasis is ours) </span></p><p style=\"margin-top:0pt; margin-bottom:0pt; line-height:150%\"><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\">IX.- On the scope of judicial error. </span><span style=\"font-family:Arial; color:#010101\">Without prejudice to the aforementioned development, it is necessary to point out the following. Although judicial error allows the reparation of the damage caused, it is fundamental to establish the implications of that term. The reparability referred to depends, imperatively, on the proof of the existence of a judicial error in that jurisdictional decision that caused an unlawful injury at its base. For this, it must be clear that the simple fact that the addressee of the ruling does not share its content does not in any way imply the existence of that criterion of attribution referred to. Indeed, as is rightly pointed out, judicial error encompasses any jurisdictional decision that deprives a person of one of their legitimate rights or interests and that is erroneous or contrary to law. Note that this concept is different from abnormal functioning, for example, due to delay in resolving a specific case. In that latter variable, different rules apply than those specific to judicial error, which are not relevant in this proceeding. In the matter of interest (judicial error), it is essential that its existence has been demonstrated. The foregoing supposes a declaration within the proceeding itself, or, as part of it, within the appellate phases established by the legal system, which establishes the existence of an erroneous jurisdictional decision, contrary to law, whether due to indirect violation (of fact or of law), or direct violation (due to improper application, erroneous application, or defective interpretation), whether substantive or procedural. Nevertheless, the mere annulment or reversal of a resolution does not imply, per se, an error of this nature, much less a sort of automatic right to compensation. For this, several presuppositions arise that condition the reparability of the injury. On the one hand, the error must be gross, that is, it must be a glaring, serious, and substantial defect. At this point, it is reiterated, the existence of the irregularity must be expressed through a resolution of the authority itself (via reversal or ex officio nullity), or from an ordinary higher instance, that is, an appellate venue. A declaration is also feasible through the exercise of extraordinary remedies, whether through a cassation judgment or one issued by virtue of an extraordinary motion for review. In essence, it is essential that there be a jurisdictional declaration regarding a serious judicial error (within the same proceeding by the competent authority), detailing the aspects that determine that deficiency, an aspect that falls to each of the instances that, given that appellate scheme, is competent to hear the matter. For this, it is necessary that the jurisdictional remedies or recourses offered by the legal system have been utilized to challenge the resolution that, in the judgment of the addressee, causes them damages. This is decisive since the inertia in this right, despite the possibility granted by the normative plexus to cease the disturbance, means that the effects of said ruling become firm and, therefore, its implications in the legal sphere of the individual find support in a decision with the authority of material res judicata on which there has been no dispute within the proceeding, or at least not formally. It is clear that the absence of exercising an appeal against the decision alleged, whether through the appropriate ordinary remedies (criterion of taxativity for challenges) or through extraordinary ones, prevents, within the dynamic of the proceedings, another jurisdictional unit from reviewing the decision of the lower court (A quo), and, in protection of the rights of the party seeking justice, suppressing that error that affects them, all due to the tacit acquiescence of the supposedly affected party. At this point, it must be understood that the appellate scale, embodied in each procedural regime, is precisely a guarantee of due process and the tool that allows the party seeking justice to challenge the decision with which they do not agree.</span><span style=\"font-family:Arial; color:#010101\"> </span><span style=\"font-family:Arial; color:#010101\"> Along these lines, an error contained in a decision that has been challenged and that has not taken effect could not constitute a compensable error, but only one that has generated effective, assessable, and individualizable damage, thanks to a jurisdictional determination that has produced material effects with a harmful result to the addressee in the terms pointed out. Of course, those resolutions that produce direct effects, despite having been challenged through ordinary mechanisms (remedy with devolutive effect -e.g., numeral 569 of the Código Procesal Civil-), as long as a judicial error is proven, allow for that pecuniary reparation. The contrary, that is, supposing the possibility of alleging a judicial error in a State liability proceeding, without there being a ruling from a superior authority, or from the same authority that has recognized its error (reversal or ex officio nullity), would lead to allowing, through this type of civil Hacienda proceedings, an attempt to analyze the legality of firm jurisdictional decisions, with the authority of res judicata, going against the appellate system established by law and in complete disregard of the effects of that material res judicata. It must be remembered that resolutions with that hierarchy can only be analyzed through extraordinary remedies (review and cassation), so accepting the review of those conducts as a presupposition for a determination of the existence or not of a judicial error not only breaches the security and legal certainty of res judicata, but also invades the competencies that belong to the Casation Chambers, an aspect which, of course, this Court cannot share. It does not correspond to this Tribunal Contencioso Administrativo to qualify the conduct of other jurisdictions in order to establish whether they were issued with judicial error or not. That would imply, it is insisted, the reflexive review of those criteria, a matter that is reserved to the competent appellate instances, and the exercise of a power that cannot be derived from the generic competence granted by article 2, subsection b) of the Código Procesal Contencioso Administrativo - which includes claims for liability against the Administration and in general against the State, in application of canon 49 of the Carta Magna-, therefore, without an enabling legal basis. </span></p><p style=\"margin-top:0pt; margin-bottom:0pt; text-indent:34pt; line-height:150%\"><span style=\"font-family:Arial; font-weight:bold; color:#010101\">X.- </span><span style=\"font-family:Arial; color:#010101\">It must be insisted, the error must be serious, evident, and gross. The mere circumstance that the appellate or cassation instance opts for a different legal criterion could not be considered a reparable judicial error. It is necessary that the decision be openly arbitrary, openly contrary to the legality of the case, and that this is expressed in the ruling that reverses or annuls the criterion of the lower court. The same applies when the new criterion is based on allegations not presented before the instance judge (provided they were issues that must be debated by the parties in application of the party presentation principle), or is based on new evidence provided in the appellate phase. In those cases, the existence of a judicial error could not be affirmed when the questioned judgment was issued without having those pieces of evidence or substantive arguments that can only be subject to pronouncement if debated by the parties (congruence), without this implying a disregard of the maxim </span><span style=\"font-family:Arial; font-style:italic; color:#010101\">iura novit curia</span><span style=\"font-family:Arial; color:#010101\">. Therefore, the mere variation of a prior criterion does not, as a general rule, lead to a compensable judicial error. A meticulous and casuistic examination of the particularities of each proceeding is necessary, in order to establish whether that type of error has occurred that allows liability for the jurisdictional function to arise. For example, a ruling that orders the auction of an asset given as a guarantee for a credit obligation already canceled by compensation, a situation unknown to the judge despite the constant allegations of the alleged debtor and its accreditation within the case file, resolving that the debt is not canceled, ordering the auction of the real guarantee, does not merit the same treatment as the liability that may arise from the legal criterion of considering effective a certain power subject to a statute of limitations, which then, due to different legal assessments, the higher court considers to have expired. In the first case, it is clear that a compensable error may be configured due to the ignorance of a situation accredited in the court records, which ultimately produced the auction of the asset. In the second, it involves different criteria and normative assessments, ultimately, independence of the judge's criterion, unless the aforementioned expiration is evident. There is no compensable judicial error due solely to a dissonance of legal criterion; there must be a declaration of the existence of a serious mistake, generating damages to a third party. This is precisely the third aspect, that is, the proof that the criterion deemed mistaken produced concrete damage. More simply, </span><span style=\"font-family:Arial\\\">it must be specified that the existence of that right to reparation is subject, on the one hand, to the condition that the resolution containing a possible judicial error has deployed its effects and, through them, a detriment has been produced in the legal sphere of the affected party. </span><span style=\"font-family:Arial; color:#010101\">As an additional aspect, it must be clarified that the compensable error is not limited to the hypothesis of the motion for review, although it constitutes the scenario with the greatest probability from which it can arise. Nevertheless, in thesis of principle, what is usual is that it derives from a firm jurisdictional decision possessing the authority of res judicata. Nor is it exclusive to the criminal jurisdiction. It is clear that it permeates the other jurisdictions, for, even though criminal matters are where the legislative development of the figure is evident, that does not imply that it cannot occur in others. This criterion should not be confused with the abnormal functioning that occurs in the classic conception of lack of functioning, defective or erroneous provision. Viewed this way, it is a broader term, which covers the already discussed assumption of judicial error, but also the deficiencies that, in terms of deficient provision or delay of justice, are linked, in principle, with the facet of the administration of justice or the judicial function, therefore, regulated by the liability regime dealt with in the Ley General de la Administración Pública. (On that point, see the aforementioned judgment No. 654-2008 of the Sala Primera de la Corte Suprema de Justicia)</span></p><p style=\"margin-top:0pt; margin-bottom:0pt; text-indent:17pt; line-height:150%\"><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\"> </span><span style=\"font-family:Arial; font-weight:bold; color:#010101\">XI.- On liability for judicial error accredited in a motion for review. </span><span style=\"font-family:Arial; color:#010101\">Having specified the generalities of the liability system for judicial error and the scope of judicial error, the examination of the claims raised in the specific case is entered into. The plaintiff bases their claim on what they consider the liability of the State as judge for the judicial error committed by having declared them guilty of the crime of rape to the detriment of Nombre141372</span><span style=\"font-family:Arial; color:#010101; -aw-import:spaces\">   </span><span style=\"font-family:Arial; color:#010101\">, sentencing them to ten years in prison through ruling No. 327-2004 of the Trial Court of the First Judicial Circuit of San José and then having been acquitted by resolution No. 2006-00565 of the Sala Tercera de la Corte Suprema de Justicia.\n\nAt its core, he argues, the penalty was imposed on him without having taken the testimonial evidence offered, consisting of the testimony of Nombre141373 and Nombre141374. He accuses that he was acquitted without taking into account the error committed by the judges. He says that when he was tried, the only existing evidence was a report from the Municipal Police and the testimony of the complainant. He indicates that the judgment that convicted him made no reference to the inability to take the offered testimonial evidence, leaving him in a state of defenselessness. He asserts that he suffered an assault with a bladed weapon while he was incarcerated on March 13, 2005. He accuses that he served preventive detention (prisión preventiva) without elements of proof indicating that he had committed the crime. He asserts that the criminalistic analysis report issued by the Department of Forensic Sciences of the Judicial Investigation Agency (Organismo de Investigación Judicial) is Nombre9510, that no male cells were detected and concluded that no evidence of the presence of semen was found. He explains that those elements did not compromise him and were not sufficient grounds to impose preventive detention on him, much less to hold him as the responsible perpetrator of the reported acts. The summarized allegations require entering into the analysis of the figure of compensation for judicial error by virtue of the acquittal ordered upon a motion for review (recurso de revisión). As has been pointed out in the previous sections, the liability of the State in its jurisdictional function requires proof of abnormal functioning and, for what is relevant to the present process, the demonstration of a judicial error that has been declared by the competent authorities within the appeal process available against the resolution. Such a declaration is essential, considering that it is not within the purview of this Court to analyze the legality, appropriateness, or inappropriateness of the final judicial pronouncements of other jurisdictional bodies, a matter that falls outside the competence of this jurisdiction and concerns only the authorities to which such competence has been assigned. In this area, the criminal procedural rules regulate the issue of liability for judicial error, specifically, when in the extraordinary phase of review, it is determined that the conviction (sentencia condenatoria) involved an error of fact or law. On this particular point, Article 419 of the Code of Criminal Procedure (Código Procesal Penal) states: “When, as a result of the review of the procedure, a judicial error is recognized, as a consequence of which the sentenced person served a penalty they should not have served, or a greater or more severe one than corresponded to them, the court hearing the review may order the payment of compensation at the expense of the State at the request of the interested party, provided that the latter has not contributed through fraud or fault to producing the error./ The judges who issued the reviewed sentence shall be jointly liable with the State when they have acted arbitrarily or with gross fault under the terms of Article 199 of the General Law of Public Administration (Ley General de la Administración Pública)./ Civil reparation may only be agreed upon in favor of the convicted person or their lawful heirs.” (Highlighting is not in the original). From the analysis of said regulation, the imperative need emerges that the authority competent to hear the motion for review, in this case, the Third Chamber (Sala Tercera) of the Supreme Court of Justice, must have recognized the existence of a judicial error. However, from a meticulous analysis of the case file, it does not appear that said Chamber, in judgment number 2006-00565 of 3:10 p.m. on June 7, 2006, decreed the existence of such a mistake, which is a prerequisite for the reparation being petitioned. In effect, the analysis expressed by that high Court reflects that the acquittal decreed was due to the acceptance of new testimonial evidence that was not weighed and taken in the trial phase or in the cassation review phase (sede casacional), that is, the deposition of Nombre141374, which, once received, led the Court to consider that, given the reasonable doubt as to whether the defendant had committed the crime attributed to him or not, the appropriate course was acquittal. In that sense, at its core it ordered: \"Confronting this testimonial evidence with the evidence for the prosecution examined in the sentence, from the two police officers who testified about what was narrated by the victim and what was said by the injured party when reporting that he had been the object of a sexual assault by a stranger, this Chamber finds that, although it is not conclusively demonstrated that the act did not exist or that the defendant did not carry it out, it does have the effect of generating significant doubt about the circumstances in which the act occurs. (...) Certainly, there is a medical-legal opinion that reveals that the victim has anal fissures, however, this in itself does not allow one to derive the circumstances in which they were caused. As a corollary of the foregoing, the evidence provided by the accused in the review does not make the act disappear, but it introduces a fundamental element that undermines the evidentiary bases that gave rise to the conviction, by casting doubt upon the statements of the victim in his report, regarding not knowing the accused party and regarding the veracity of the act attributed to the accused party, generating a doubt about what really happened. Our procedural and constitutional system requires that a conviction be supported by the certainty produced by the evidence, and as in this case, the evidence provided in the review, examined in relation to that received at trial, has left a doubt about the responsibility of the accused, it obliges the application of Article 9 of the Code of Criminal Procedure, which establishes that in the event of doubt on questions of fact, the ruling must be what is most favorable to the accused. Consequently, it is appropriate to accept the motion for review filed, to set aside the imposed conviction, and in its place to acquit the accused Nombre141371 of the crime of rape attributed to him to the detriment of Nombre141376. The freedom of the accused is ordered if no other cause prevents it.\" (Highlighting is not in the original). As can be observed, the result of acquittal was based on a criterion of reasonable doubt and in dubio pro reo, derived from the incorporation of a new element of conviction that was not taken into account in the previous phases of the process. Although the plaintiff claims that from the beginning of the criminal process he offered the testimony of Mr. Nombre141374, which can be verified in the record of the preliminary hearing held at 3:00 p.m. on February 27, 2004, pages 139-141 of the certification of criminal case file No. 03-013207-0042-PE, and that because such evidence was not taken, defenselessness and subsequently judicial error were caused, the truth of the matter is that in the order to proceed to trial (auto de apertura a juicio) of 4:04 p.m. on February 27, 2004, regarding those testimonial proofs, it was indicated: \"Testimonial. (...) While it is true the defense mentioned the interview of Messrs. Nombre141374 and Nombre141375 as the basis for the request for temporary dismissal of the case (sobreseimiento provisional), the truth is they did not offer them as testimonial evidence (...)\" (Page 144 of the criminal case file). No disagreement whatsoever was formulated against that decision, neither in the oral and public trial held at 8:40 a.m. on April 1, 2004 (pages 163-168 of the criminal case file), nor in the cassation appeal (recurso de casación) appearing on pages 181-200 of the criminal file. It was not until the motion for review that the plaintiff offered witness Nombre141374 as new evidence. In Resolution No. 2005-01525 of 9:35 a.m. on September 23, 2005, the Third Chamber admitted the motion for review regarding the aforementioned offer of new testimony (pages 308-310 of the criminal file). Ultimately, as has been stated, weighing the testimonial deposition together with the other evidence in the criminal court record, it ordered the acquittal of the accused on grounds of doubt, ordering his release. The foregoing implies that the plaintiff did not formally offer the evidence he later introduced in the review procedure, nor did he timely question the judge's criterion of not considering the statements of Nombre141374 and Nombre141375 as testimonial evidence. From the foregoing, it is inferred that the criterion for ordering the acquittal was the weighing of that new evidence offered and admitted (Article 408, subsection e of the Code of Criminal Procedure). However, this does not imply, as the plaintiff claims, a judicial error. The new criterion is based on the assessment of evidentiary aspects that were not present in the conviction. Note that even the criterion of the Trial Court was confirmed by the Third Chamber through Resolution No. 2004-01100, reflecting that the factual and legal assessment carried out with the evidence existing in the file at that time was in accordance with the law. This demonstrates that in this case, there has been no declaration of the existence of a judicial error. The ruling of that high Court in the review procedure does not speak of such an error, nor can this Chamber derive it from the analysis of the case file. From that standpoint, the reparation requested is unfeasible, given the absence of the basic prerequisite for ordering it, that is, the essential criterion of imputation for such purposes.\n\nXII.- From that standpoint, in the absence of judicial error and by virtue of the cause for acquittal, it is the criterion of this Chamber that there is no compensation for the imprisonment to which the plaintiff was subjected, nor for the preventive detention imposed at the time. Regarding the former, it is clear that the imprisonment to which the plaintiff was subjected as a consequence of the conviction and its confirmation in cassation review cannot serve as a parameter for compensation under the terms he requests. This is because it was the reasonable doubt about the commission of the unlawful act that motivated his release, as a result of weighing evidence that was not available at the oral and public trial, so, in the terms already explained, the conviction was in accordance with the law. It was only upon the issuance of the ruling in the review phase, and as a consequence of assessments of new elements of evidence, that he was acquitted, which implies that the imprisonment ordered based on that first judgment, confirmed in cassation, was supported by a judicial ruling in which, ultimately, the concurrence of a judicial error was not demonstrated. From that standpoint, the imprisonment was the result of the application of a final jurisdictional ruling, which was endorsed by the same Third Chamber upon hearing the cassation appeal opposed by the plaintiff, and which therefore implies the effectiveness of a resolution in which no irregularity was detected in the factual, evidentiary, or legal analysis. Although the acquittal was subsequently ordered for the reasons already amply discussed, this does not mean that those decisions were erroneous with a clear judicial error, and to that extent, the imposed imprisonment, as an effect of those decisions, is not a basis for possible reparation under a criterion of liability for judicial error. Thus, it cannot constitute a parameter that would justify the intended compensation. The same applies to the aforementioned preventive detention. For the purposes of Article 108 of the Penal Code, the personal precautionary measure under consideration cannot be considered unfounded. It does not appear from the case file that the measures of preventive detention and their respective extensions were ordered arbitrarily. Quite the contrary, each of the resolutions issued in that sense, namely, the ruling of 11:40 a.m. on July 13, 2003, (Pages 8-14 of the criminal case file), and the resolution of 4:30 p.m. on October 13, 2003 (Pages 42-45 of the criminal case file), were confirmed by the Criminal Court of the First Judicial Circuit of San José, by resolutions at 8:30 a.m. on August 1, 2003, and No. 999-03 of 2:30 p.m. on October 22, 2003, respectively. The determination of 3:45 p.m. on January 13, 2004, is equally substantiated; again, the Criminal Court of San José decreed the extension of preventive detention for a period of three months, expiring on April 13, 2004. All these resolutions present an analysis of the requirements that allow for this type of personal precautionary measure, in accordance with Articles 238 and 239, both of the Code of Criminal Procedure. In this line of reasoning, the potential liability provided for in the previously mentioned Article 108 is only viable when the acquittal ordered in the review procedure has been based on criteria of full demonstration of innocence. Otherwise, that is, when it has been based on the presumption of innocence, national jurisprudence has understood that preventive detention constitutes an important tool for the dynamics of preliminary investigations and the proper conduct of the criminal process. In that line, Resolution No. 115 of 2:30 p.m. on November 11, 1998, of the First Chamber, cited in Ruling No. 1011-2006 of that high Court, analyzing the applicability of the liability referred to in Article 108 of the Penal Code, interpreted: “VIII.- The referenced article of the Penal Code, in light of the preceding recital (considerando), would only be applicable in the event of preventive detention and, subsequently, the full innocence of the accused is demonstrated. Only under this circumstance would the deprivation of liberty, stemming from a necessary judicial investigation, be considered unjustified and susceptible to reparation. Otherwise, the action of justice in terrains as rough and sinister for society as drug trafficking currently is, would be noticeably hindered. (...) When the acquittal is obtained, as occurs in this case, by virtue of the application of the principle 'in dubio pro reo,' obviously innocence has not been indubitably demonstrated. (...) Therefore, as stated in Recital IV, in those cases there are sufficient grounds to investigate the unlawful act and, consequently, to take all necessary measures provided for in our legal system for such purposes. Among them, preventive detention. Under those assumptions, such measures are not illegitimate, as the plaintiff alleges. Therefore, they cannot generate liability for the State or its servants.” Ergo, given the lack of proof of full demonstration of innocence and the non-concurrence of a judicial error in this case, reparation is inappropriate, also under this concept.\n\nXIII.- Finally, it is worth highlighting that the lawsuit dedicates itself to criticizing the conduct of the Trial Court regarding the alleged disregard of testimonial evidence offered at the preliminary hearing and which later, in the review procedure, allowed the acquittal to be ordered. The statements that the plaintiff makes in this sense do not allow for the proof of the concurrence of a judicial error that would lead to an estimation of his claims. It concerns a set of reproaches whose analysis, consistent with the foregoing, falls outside the scope of competence of this Court and is only proper to and claimable within the dynamic of the criminal process itself. The determining factor in this case is that the decision in the review phase was based on a comprehensive assessment of new evidence that, regardless of what the plaintiff asserts, was not formally offered in the trial phase or in the corresponding cassation appeal. This introduced a novel aspect, therefore, inaccessible to the sentencing court. From that standpoint, it is not determined that the prior criterion was arbitrary. In reality, ruling 2006-00565 of the Third Chamber makes a new assessment of the evidentiary array to reach a different decision, which does not imply, as the plaintiff erroneously claims, a judicial error that supports his petition. To understand this, it suffices that Article 408, subsection e of the Code of Criminal Procedure establishes new evidence as a ground for review. The Third Chamber itself even expressly refers to that new evidence. Thus, the acquittal is not due to defects in the sentence, but due to a change in the procedural circumstances to support the ruling. This being the case, the damages claimed have no solid basis for being granted; on the contrary, the criterion of imputation on which the plaintiff bases them is non-existent, and in view of this, no causal link (nexo de causalidad) is discerned that would allow those alleged harmful consequences to be attributed to the State. Such an absence of causation (even an apparent one) dispenses with an examination of the existence or non-existence of the alleged damages, given that they are not attributable to the defendant party, and therefore, without further consideration, the lawsuit must be dismissed in its entirety.\n\nXIV.- Corollary. On the defenses raised. The State's representation raises the defenses of statute of limitations (prescripción) and lapse of right (caducidad), as well as the defense of lack of right (falta de derecho). As for the former, for the reasons stated in Recital III, they must be dismissed. Regarding the lack of right, as stated, it must be accepted. As has been explained, in this case, the existence of a judicial error that would allow laying the foundations to grant the requested reparation has not been proven. The acquittal decreed in the review phase addressed a novel aspect that precludes inferring a judicial error in the prior sentences. This being the case, what is appropriate is to order the dismissal of the lawsuit in its entirety.\n\nXV.- Costs (Costas). In accordance with Article 193 of the Code of Contentious-Administrative Procedure (Código Procesal Contencioso Administrativo), procedural and personal costs constitute a burden imposed on the losing party for the mere fact of being so. The judge's pronouncement on this matter becomes an ex officio pronouncement, with the exception of the limited grounds provided for in Article 197 of the same Code. The waiver of this award is only viable when, in the Court's judgment, there was sufficient reason to litigate, or when the judgment is based on evidence whose existence was unknown to the opposing party. In this case, this collegiate body finds no reason to apply the exceptions set forth by the applicable rules and break the principle of awarding against the losing party. Therefore, both costs are imposed on the losing plaintiff.\n\nPOR TANTO\n\nThe defenses of lapse of right and statute of limitations presented by the State's representation are dismissed. The defense of lack of right is accepted. The lawsuit brought by Nombre141371 against the State is declared without merit in all its aspects. Both costs are to be borne by the losing plaintiff.\n\n**III.- Regarding the defense of expiration (caducidad) and statute of limitations (prescripción).** In the closing arguments phase, the State representation reiterates the defenses of expiration (caducidad) and statute of limitations (prescripción) invoked in the preliminary hearing held on June 9, 2010, and which were rejected in the procedural stage by a resolution at 3:00 p.m. It points out that the expiration (caducidad) is evident given that if the plaintiff felt aggrieved by judicial actions, he should have filed the civil liability process against the judge provided for in canon 85 of the Civil Procedure Code (Código Procesal Civil). However, the 1-year period regulated by mandate 87 ibidem had expired at the time of filing the lawsuit. It points out, regarding the statute of limitations (prescripción), that more than four years have elapsed since the finality of the conviction, which exceeds the four years established by precept 198 of the General Law of Public Administration (Ley General de la Administración Pública). In this regard, the following must be noted. In civil treasury proceedings, according to numeral 41 of the Contentious Administrative Procedure Code (Código Procesal Contencioso Administrativo), the maximum period to initiate the process is the same that the legal system provides as the statute of limitations period for the substantive right. This requires an analysis in each case of the validity or not of the prescriptive period of the substantive right, so that as long as it is in force, the judicial route is available. From this perspective, it is clear that in this matter, expiration of the action does not apply, but rather the statute of limitations of the substantive right. The First Chamber (Sala Primera) of the Supreme Court of Justice (Corte Suprema de Justicia) has expressed itself along these lines, among others, in ruling No. 654-2008 of 10:05 a.m. on September 26, 2008. Therefore, the defense of expiration (caducidad) must be rejected. The same fate must befall the claim of expiration (caducidad) due to the expiry of the year provided for in numeral 87 of the aforementioned Code. The present process is not one of civil liability of the judge provided for in ordinals 85 to 95 of the Civil Procedure Code (Código Procesal Civil), but one of State liability for jurisdictional function, so the applicable rules are not those invoked by the State attorney, but those that will be stated below. Now then, regarding the statute of limitations (prescripción), it is clear that the applicable period for the statute of limitations of liability for the exercise of jurisdictional function is four years, by application to that matter of numeral 198 of the General Law of Public Administration (Ley General de la Administración Pública). Although in the specific case of this jurisdictional function, a special norm is not established that sets a concrete period for these effects, it is necessary to integrate the legal system. In this sense, in the dynamic, given this gap, one must resort to examining the nature of the debated legal relationship, in order to deduce the regulation that is most closely related. Thus, given the absence of an express norm in the concrete matter subject to this ruling, by virtue of the principles of plenitude and coherence of the legal system, one must resort to integration mechanisms to resolve said gap and establish the most appropriate period for this specialized matter. To do this, it must be clear that the type of liability alleged is of an extracontractual nature, which would make the application of statements regulating contractual prescription inviable. Dealing with the framework of State liability, one must consider, then, first the legal sources that regulate similar aspects. In that regard, among the different norms pertaining to the matter of the statute of limitations (prescripción), insofar as the point to be elucidated is the duty of reparation at the State's charge, the prescriptive space that the legal system defines for cases of State liability must be used, as an integration mechanism. For this, one must start from the maxim that public liability is based on the general liability clause established by constitutional canon 9. It is evident that the legislative development of this topic has been given with greater emphasis in the General Law of Public Administration (Ley General de la Administración Pública), a regulation that, apart from concrete regulations in judicial or legislative matters, has become the reference base for the treatment of the topic regarding the Legislative Branch and the Judicial Branch. Hence, due to the affinity of the matter, the closest rule that regulates the prescriptive period is precept 198 of the General Law of Public Administration (Ley General de la Administración Pública), which establishes a four-year period for the statute of limitations of the right to claim indemnification. As the First Chamber (Sala Primera) indicated in the aforementioned ruling 654-2008: \"*Thus, if the legal system imposes, by special norm, a four-year period to claim from the State the indemnification of damage it has caused by its conduct, attending to the principle of equality, for aspects of certainty and legal security, that same period is the one applicable when the detriment arises from the exercise of its jurisdictional functions. Thus, based on integrative mechanisms of Law, this collegiate body concludes that the applicable period is the four-year period indicated, as it corresponds to State extracontractual liability, and therefore, is usable in this case.*\" Now then, in the specific case, unlike what was argued by the State representative, the starting point of the cited prescriptive period is not conviction ruling No. 327-2004 of April 15, 2004, nor its confirmation by cassation ruling No. 2004-01100 of September 10, 2004. The commencement of the calculation of this period must be taken from the issuance and notification of the judgment issued in the review process that ordered the acquittal of the then accused, that is, ruling No. 2006-00565 of June 7, 2006, notified on June 29 of that same year.\n\nIt is with that jurisdictional determination that the plaintiff (accionante) is in a position to establish that the effects of the judicial precedents that found him guilty of the crime of rape to the detriment of Juan José García Garay and ordered his imprisonment have caused him, as he claims, a damage due to judicial error that the State must indemnify. Before that factual circumstance, one cannot speak of the existence of an objective basis that would allow establishing the claim of liability now being settled in this litigation, so that making the four-year period run from dates prior to the proper notification of the ruling issued in the review phase is contrary to the rules arising from the cited article 198 of Law No. 6227 and exposes the person claiming a right to its expiration due to the passage of time, without having the objective possibility of knowing the source of the damage and claiming its reparation. Therefore, it is from June 29, 2006, that the cited prescription period must be computed, so its expiration would occur on June 30, 2010. From the review of the case file, it appears that the present claim was filed on October 21, 2009, and corrected on November 4, 2009 (folios 1 and 26 of the main file). The State was notified of this process on December 3, 2009, according to the notification record visible at folio 37 of the judicial file. The foregoing makes it evident that the liability claim was filed and notified before the expiration of the prescriptive period. Therefore, the defense of prescription raised by the State must be rejected.\n\nIV.- State Liability for the Jurisdictional Function. Basis of the Regime. The core object of this process revolves around determining the existence or not of liability that the plaintiff alleges arises from having served prison time due to ruling No. 327-2004 of 4:00 p.m. on April 15, 2004, of the Trial Court (Tribunal de Juicio) of the First Judicial Circuit of San José, which declared him responsible for the crime of rape to the detriment of Juan José García Garay, for which he was sentenced to 10 years of imprisonment, later confirmed by ruling No. 2004-01100 of 11:50 a.m. on September 10, 2004, of the Third Chamber (Sala Tercera) of the Supreme Court of Justice (Corte Suprema de Justicia). He indicates that, by ruling No. 2006-00565 of 3:10 p.m. on June 7, 2006, that same Chamber, hearing an extraordinary motion for review (recurso extraordinario de revisión), ordered his acquittal for the crime of rape to the detriment of Juan José García Garay, ordering his release, if not impeded by another cause. He seeks indemnification for the time he was imprisoned even though the aforementioned acquittal was later issued. Given this subject matter, it is necessary to make a brief reference to core aspects regarding the State's liability in its jurisdictional exercise, with special emphasis on that which may arise from a judicial error determined in a review process, under the terms of article 419 of the Criminal Procedure Code (Código Procesal Penal). The relationships that occur between individuals and the centers of public authority are subject to a series of principles that configure the amalgam of rights and obligations that correspond to each of the involved parties. In this dynamic, within the framework of the Social State of Law (Estado Social de Derecho), article 11 of the Constitution (Carta Magna) establishes as the governing criterion of public functioning the so-called principle of legality. It is a maxim that imposes the subjection of the State to the law, and by virtue of which, all public conduct must occur within the framework of legality, understood as the set of written and unwritten sources (according to the hierarchical scale of sources - article 7 ibidem) that regulate that functioning. The reference to the State is made in its broad dimension, that is, the set of units that make up the Executive, Legislative, and Judicial Powers, which includes constitutionally relevant bodies. From this perspective of analysis, article 9 of the Constitution establishes the general clause of State liability, a norm that constitutes a basic guarantee that allows a person, who as a consequence of an action or omission of a center of public power that has caused them a harmful effect they have no legal duty to bear, to demand reparation for that harmful effect. Likewise, it finds development and complement in the principle of legality (article 11), equity in the distribution of public burdens (articles 18 and 33), protection of consolidated legal situations and rights (article 34), integral reparation of the damage (article 41), patrimonial indemnity (article 45), effective judicial protection (tutela judicial efectiva) (article 49), maxim of social solidarity (article 74 of the Constitution), responsibility of the presidential office (148 ibidem), responsibility of the Judicial Power (154 and 166 ejusdem), responsibility of autonomous institutions (article 188). These norms constitute the bases of the referred system, which demands the economic reparation of patrimonial or extra-patrimonial injuries occurring as a derivation of public conduct or omissions, which the victim has no duty to bear. The fundamental basis of that liability has been a topic of development by the Constitutional Chamber (Sala Constitucional), in its ruling no. 5981 of 3:41 p.m. on November 7, 1995. Indeed, such duty turns out to be the consequence of a constitutional regime of guarantees that the Legal System (Ordenamiento) grants to persons and forms the core structure of the rule of law (estado de Derecho), namely: legality, universal control of state conduct, distribution of functions, and a system of public liability. The empowerment (empoderamiento) granted to the State for the fulfillment of its purposes, within the framework of its diverse functions, executive, legislative, and judicial, brings as a direct consequence the creation of a liability system that permits the reparation of the harmful effects that its conduct may generate in the legal sphere of individuals, a protection that comprises, according to article 49 of the Constitution, subjective rights and legitimate interests. This subject matter has seen greater development in the case of the liability of the Public Administration (Administración Pública), a topic even regulated in articles 170.1, 190 to 213 of the General Law of Public Administration (Ley General de la Administración Pública), and with a broad evolution in national jurisprudence. On this matter, see, among many, ruling no. 584 of 10:40 a.m. on August 11, 2005, of the First Chamber (Sala Primera) of the Supreme Court of Justice. Even so, the same General Law referred to in article 194.3 addresses liability for the issuance of law, opening the regulation for the imputation of liability for the parliamentary exercise of creating laws. By parity of reasoning and based on those same constitutional norms already pointed out, the mentioned regime permits liability for legislative omission, law declared unconstitutional, and the approval of international treaties. Naturally, in each case, the affected party must prove the existence of an effective, assessable, and individualizable (individualizable) damage, as a prerequisite for the duty of reparation.\n\nV.- This broad scheme of public liability is complemented by that which may arise against the State for its jurisdictional function (which is not judicial). Fundamentally, this function is exercised mainly (not exclusively) by the Judicial Power. In accordance with what is established by article 153 of the Political Constitution (Constitución Política), by virtue of that jurisdictional function, it corresponds to the Judicial Power to resolve people's conflicts definitively, that is, with the authority of res judicata (cosa juzgada) and the force of legal truth. Such jurisdictional exercise can also be observed in the processes that correspond exclusively to the Supreme Electoral Tribunal (Tribunal Supremo de Elecciones) to settle, in the so-called electoral jurisdiction. On this matter, article 220 of the Electoral Code (Código Electoral), Law No. 8765 assigns that jurisdictional competence in the following matters: a) The electoral amparo appeal (recurso de amparo electoral), b) The challenge of agreements of political party assemblies in the process of constitution and registration, c) The action for nullity of party agreements, d) The electoral appeal (recurso de apelación electoral), e) The claim for nullity regarding electoral results, f) The cancellation or annulment of credentials, and g) The complaint for partiality or political belligerence. Hence, all functions that the legal system attributes and assigns to the Judicial Power should not be included within the liability for jurisdictional exercise. From that plane, the core function of the judge is the legality control and the application of the Law for the resolution of specific cases in order to materialize the principles of prompt and complete justice and effective judicial protection. Ergo, if it holds that condition of guarantor of the Legal System, the Law must protect the necessary guarantees that allow the attribution of liability for judicial errors. It is clear that such typology of liability must not be confused with the civil liability of the judge for personal fault, which articles 85 to 95, both inclusive, of the Civil Procedure Code (Código Procesal Civil) regulate. In this case, it is a direct imputation to the official, therefore, it adheres, within the framework of that regulation, to a system of subjective orientation, which requires proof of malice (dolo) or gross negligence. The liability for jurisdictional exercise surpasses that criterion. It extends to a duty that involves the State as such. In this regard, the First Chamber of the Supreme Court of Justice, among others, in ruling 1011-2006, established that the jurisdictional function is subject to the unavoidable limits imposed by the Legal System, such that its exercise must be compatible and harmonious with the constitutional and legal precepts that, by virtue of its nature, it must apply to the specific cases being judged. The foregoing derives from that established by articles 11 and 154 of the Constitution. In this conduct, it is clear that its actions, as long as they are arbitrary and contrary to Law, can generate harm to persons, from which it derives and is justified, that it is liable for those eventual consequences, provided that within a framework of causality, it can be demonstrated that the damage is the result of arbitrary and unlawful conduct. This has even been established by the Constitutional Chamber itself, an instance that on the subject of the liability of the Judicial Power has indicated, among others, in ruling 5981 of 3:41 p.m. on November 7, 1995, the following: \"V. ON THE STRICT LIABILITY (RESPONSABILIDAD OBJETIVA) OF THE JUDICIAL POWER. PRINCIPLES. (...) The liability of the State derived from the exercise of the jurisdictional function must be governed in accordance with what is established in the Political Constitution itself and in the law, as provided in the Constitution (Carta Fundamental) in its article 154 (...): 'The Judicial Power is only subject to the Constitution and the Law, and the resolutions it issues in matters under its competence impose no other responsibilities upon it than those expressly indicated by legislative precepts.' From which two basic conclusions derive: 1.) In the first place, the direct liability of the State in cases of judicial error and abnormal functioning of the administration of justice constitutes a constitutional principle, which derives precisely from what is specifically provided in constitutional article 9, (...) in relation to constitutional articles 11, 33, 41, and 154, and which is congruent with the principles of the Social State of Law, precisely with that of the prohibition of arbitrariness of public powers, that of legal certainty and equality of all citizens before the law. This liability is justified by the fact that the function of judging is the manifestation of a Power, one of the three of the State, which implies its condition as a public service, as an organization of material and personal means destined for the satisfaction of the social demand for justice. In this sense, in a rule of law, both the administrative function and the jurisdictional function constitute modes of execution of the law, and their only distinction lies in the effects; the courts of justice are responsible for the verification of the facts and the law through rulings that possess a special force, the proper legal value called 'res judicata', by virtue of which it cannot be modified, discussed, withdrawn, retracted, except through the remedies established in the law; the decision of the Administration (Administración) does not have this force of legal truth that is recognized for res judicata. It must be kept clear that they are two distinct functions, both responding to distinct purposes; while the administrative function is intended to meet the needs of the community, the jurisdictional function aims to consolidate public order through the resolution of disputes and the sanction of law violations; but that, equally, they are subject to the State's liability regime, insofar as the damage caused by the exercise of either of these functions is imputable to an act of the State, and therefore, capable of engaging its liability. By virtue of what is provided in the transcribed articles 9 in relation to constitutional article 153, in accordance with the general principle that 'anyone who causes harm must repair it,' the Judicial Power could not be exempted from liability for the 'judicial error' in the exercise of the jurisdictional function. It should be noted that this strict liability of the State is a complement to the civil, criminal, and disciplinary liability to which the judge is subject, as these are not sufficient to adequately guarantee the interests of the justiciable parties, which, due to the difficulties for their enforcement, turn the possible claim into a veritable obstacle course, and in most cases, leaves aside and without protection those situations in which it is not possible to appreciate the malice or negligence of the judge. The liability must come from malicious or negligent conduct of the jurisdictional body, whether or not it constitutes a crime (liability for fault).\" On this subject, one may also consult, from that same Chamber, resolution no. 5207-2004, of 2:55 p.m. on May 18, 2004.\n\nVI.- However, it is insisted, the liability proper to the Judicial Power in jurisdictional exercise must not be confused with the other facets of its competencies, which do not conform to that category. On the one hand, that relating to the administration of justice function, viewed as a public service, arises. It concerns the duty to resolve conflicts objectively, promptly, and timely. Included within this category are all those non-jurisdictional acts emanating from the offices that form part of what in doctrine has been called \"Judicial Power organization.\" That is, they are the organizational bodies and support that allow the exercise of the jurisdictional function itself. It refers to the objective profiles of the jurisdictional function: organization and functioning of courts, efficient management of judicial offices, functions of administrative bodies. Also to be included in this space are the jurisdictional bodies that by legal imperative perform a function of non-hierarchical comptroller inappropriate to their two-phase nature, as currently the Administrative Litigation Court (Tribunal Contencioso Administrativo) does with respect to municipal matters, by imperative of article 189 of the Administrative Litigation Procedure Code (Código Procesal Contencioso Administrativo). In this space, as it involves non-jurisdictional matters, the rules on strict liability of the General Law of Public Administration would be applicable. On a second level, are located the auxiliary units that do not carry out typical administrative activity, but that definitively, cannot be considered jurisdictional conduct. These are the so-called judicial actions. This is the case of the Judicial Investigation Agency (Organismo de Investigación Judicial), the Public Prosecutor's Office (Ministerio Público), Forensic Sciences, the Public Defender's Office (Defensa Pública), among others. These serve as support and fulfill an auxiliary role to the jurisdictional function, but their acts are not considered jurisdictional insofar as they carry out the task of investigation and inquiry. Their decisions are judicial acts stricto sensu. This distinction is evident in the regulations on criminal procedure. In article 277 ibidem, it is established very clearly in its final paragraph, the impossibility for prosecutors to carry out jurisdictional acts, as well as the restriction on judges, except for legal authorization, to carry out investigative acts. The same occurs with the Public Prosecutor's Office, whose functions can be observed in articles 62, 275, 289, 290, and 291 of the Criminal Procedure Code, all related to its investigative and reporting powers. This distinction has been noted by the First Chamber of the Supreme Court of Justice, among others, in ruling No. 654-2008 of 10:45 a.m. on September 26, 2008. However, what is of interest in this particular case is that which is proper to that jurisdictional exercise, when it has incurred a judicial error. Thus, in this latter scenario (relevant to the present case), as long as there exists an unlawful or illegitimate injury caused to the justiciable party, produced as a consequence of these competencies, the strict liability of the State as Judge is imposed. As has been said, the foregoing finds support in articles 9, 11, 33, 41, and 154, all of the Constitution, norms that lay the foundations for liability for judicial error, the abnormal or illicit functioning of the jurisdictional function.\n\nVII.- Now, aside from the discussion that may arise regarding whether or not the liability system for jurisdictional exercise requires specific legal development, the fact of the matter is that in certain subject matters, the legislator has issued express norms addressing the theme of that liability and its various prerequisites. It should be noted, however, that this Court (Tribunal), in resolution No. 765-2008 of October 2, 2008, has stated that aside from the content of articles 154 and 166 of the Constitution, which presume the necessity of legislative production to be able to impute liability for the jurisdictional function, that liability and its corresponding right to integral reparation of the damage find support in the Constitution itself, in articles 11, 18, 33, 41, 45, 49, 50, 74, 188. In that line, the First Chamber, in the aforementioned ruling 1011-2006, indicated on this matter: \"It has already been pointed out that said liability derives from the very framework of the Constitution, as a relevant counterbalance in the State's relations with individuals and as a factor of high importance in the equation of the rule of law. Ultimately, a guarantee in favor of the justiciable party, who turns to the Judicial Power so that their conflict may be resolved according to legality, thus depositing trust in that aspect of Public Power. The principle of state liability that emanates, as a general rule, from constitutional article 9 and finds protection in other norms that protect the individual's guarantees, does not find frameworks of exception. Although, in each area of that triple dimension of functions (executive, legislative, and judicial) nuances operate that demand specific treatment in each context, the fact of the matter is that the Legal System does not incorporate dispensation frameworks, outside of the reasonable assumptions when an unlawful injury is produced at its base, linked to public conduct. The principles that arise from the Constitution give content to said liability, therefore, even in the absence of legal regulation, which, despite being able to specify that regime, in no way limits the duty to indemnify, when it is pertinent according to Law. Hence, one could not sustain an 'impunity' of the State as Judge, under the basis that it lacks legal development, since it is established in principle, within the framework of the Constitution, while it would also entail a breach of legal certainty, the principle of equality, and the control of the arbitrariness of public powers. Thus seen, its recognition is not conditioned on the existence of a legal mandate that regulates it, ergo, what is provided in article 166 ibidem is not an obstacle. The referred liability is governed by what is established in the Constitution (Carta Fundamental), that is, it constitutes a principle of constitutional basis, imposed by the referred norms and which seeks the control of the exercise of said function and the protection of the rights and interests of justiciable parties.\"\n\nVIII.- Within that set of assumptions where there is legislative development on the subject, criminal law stands out, in which there are express rules, specifically, in article 271 of the Criminal Procedure Code for the case of liability for the issuance of arbitrary precautionary measures and the assumption of pretrial detention (prisión preventiva) in a process where a definitive dismissal (sobreseimiento definitivo) or acquittal with full demonstration of innocence is later ordered; article 108 of the Criminal Code (Código Penal), which regulates the eventual subsidiary liability of the State when by virtue of a motion for review (recurso de revisión) the accused’s innocence is declared when they obtain an acquittal, after having served more than one year of pretrial detention; and finally, pursuant to article 419 of the Criminal Procedure Code, which establishes public liability for the existence of a judicial error proven in a ruling issued in a review process. These last manifestations are especially relevant to the case, being those that are applicable to the specific case and which, therefore, will be addressed below. Nevertheless, it is necessary to specify the scope of the so-called judicial error. To this end, the explanation by the First Chamber in the aforementioned ruling No. 654-2008 must be brought up in the following sense: \"Note that article 154 of the Constitution uses the term 'resolution,' with which the different models that make up this category are comprised, namely, orders (providencia), interlocutory judgments (autos), interlocutory judgments with the character of a final judgment, and final judgments (sentencias) (article 153 Civil Procedure Code). On the other hand, it can occur, it is insisted, in principle, both by judicial error and by abnormal functioning. The former is a species of the common genus of abnormal functioning, for indeed, every judicial error theoretically implies an abnormality in that functioning (ultimately, the most transcendent manifestation), but not the reverse. Judicial error comprises every jurisdictional decision that deprives a person of one of their rights or legitimate interests and that is erroneous or contrary to law. Thus seen, it is exclusive to the jurisdictional function, being then, a modality of abnormal functioning that only fits in that dimension. The foregoing includes not only error of fact (due to mistaken knowledge or assessment of the facts, a ruling not adjusted to the factual reality is issued and which, therefore, becomes unjust), but also error of law (as a breach of the Law due to its improper interpretation, erroneous application, or lack of application). At this point, despite the existence of an entire system of appeals against those decisions, what is decisive is that once the recognition of that judicial error has occurred, indemnifiable damages have been produced in the legal sphere of the person, as a consequence of those deficiencies (causal link), in accordance with the Legal System.\"\n\nTherefore, the indemnifiable error is not limited to the specific cases in which the legal system provides for such a consequence, nor to criminal matters, as in the present case, due to a precautionary measure that proves to be unfounded, but rather, on the contrary, its application transcends such circumstances to encompass the entirety of the jurisdictional function, that is, any decision, regardless of the jurisdiction in which it is issued, may give rise to the duty of reparation by the State if it generates an unlawful harm.</i>\" (Emphasis added) </span></p>\n\n<p class=MsoNormal style='line-height:150%'><b><span style='font-family:Arial;\ncolor:#010101'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IX.- On the scope of judicial error (error judicial). </span></b><span\nstyle='font-family:Arial;color:#010101'>Without prejudice to that referenced development, it is necessary to point out the following. Although judicial error (error judicial) allows for the reparation of the damage caused, it is essential to establish the implications of that term. The reparability referred to depends, unavoidably, on proof of the existence of a judicial error (error judicial) in that jurisdictional decision that has caused an unlawful injury at its base. For this, it must be clear that the mere fact that the recipient of the ruling does not agree with its content does not in any way imply the existence of that referred criterion of imputation. Indeed, as is rightly noted, judicial error (error judicial) encompasses any jurisdictional decision that deprives a person of one of their rights or legitimate interests and that proves to be erroneous or contrary to law. Note that this concept is different from abnormal functioning, for example, due to delay in the resolution of a specific case. In that latter variable, different rules apply than those specific to judicial error (error judicial), which are not relevant in this proceeding. In the matter of interest (judicial error - yerro judicial), it is essential that its existence has been demonstrated. The foregoing implies a declaration within the proceeding itself, or, as part of it, within the appellate stages established by the legal system, establishing the existence of an erroneous jurisdictional decision, contrary to law, whether by indirect violation (of fact or of law), or direct (by improper application, erroneous application, or defective interpretation), whether substantive or procedural. However, the mere annulment or revocation of a decision does not imply, per se, an error of this nature, much less a sort of automatic right to compensation. For this, several prerequisites arise that condition the reparability of the injury. On the one hand, the error must be gross (crasso), that is, it must be a manifest, serious, and substantial defect. At this point, it is reiterated, the existence of the irregularity must be expressed through a decision by the authority itself (via revocation or sua sponte nullity), or by an ordinary appellate instance, that is, the appellate court. The declaration is also feasible through the exercise of extraordinary remedies, whether by a cassation judgment or one issued by virtue of an extraordinary review remedy. In essence, it is essential that there be a jurisdictional declaration regarding a serious judicial error (error judicial) (within the same proceeding by the competent authority), with details of the aspects that determine that deficiency, an aspect that falls to each of the instances that, given that appellate scheme, are responsible for hearing the matter. For this, it is necessary that the jurisdictional remedies or appeals offered by the legal system have been used to challenge the decision that, in the opinion of the recipient, causes them harm. This is decisive since inertia in this right, despite the possibility granted by the normative framework to cease the disturbance, leads to the effects of that ruling acquiring firmness and, therefore, its implications in the individual's legal sphere find support in a decision with the authority of substantive res judicata (cosa juzgada material) over which there has been no controversy within the proceeding, or at least not formally. It is clear that the absence of the exercise of appeals against the decision alleged, whether through the appropriate ordinary remedies (criterion of taxativity of challenges - taxatividad impugnaticia) or extraordinary ones, prevents another jurisdictional unit, within the dynamics of the proceedings, from reviewing the decision of the lower court (A quo) and, in protection of the rights of the litigant, eliminating that error that affects them, all due to the tacit acquiescence of the alleged affected party. At this point, it must be understood that the appellate scale, embodied in each procedural regime, is precisely a guarantee of due process and the tool that allows the litigant to challenge the decision with which they disagree.&nbsp;\nIn this line, an error could not be considered indemnifiable if it is contained in a decision that has been challenged and has not taken effect, but only one that has generated an effective, assessable, and individualizable harm, thanks to a jurisdictional determination that has produced material effects with a harmful result for the recipient in the terms indicated. Of course, those decisions that take direct effect, despite having been challenged through ordinary mechanisms (appeal with devolutive effect - e.g., numeral 569 of the Civil Procedure Code - Código Procesal Civil), allow for that pecuniary reparation, provided a judicial error (yerro judicial) is proven. The contrary, that is, assuming the possibility of alleging a judicial error (error judicial) in a State liability proceeding, without there being a ruling from a higher authority, or from the same authority that has recognized its error (revocation or sua sponte nullity), would lead to allowing, through this type of civil public finance proceedings, an attempt to analyze the legality of final jurisdictional decisions, with the authority of res judicata (cosa juzgada), against the grain of the appellate system established by law and in complete disregard of the effects of that substantive res judicata (cosa juzgada material). It should be recalled that decisions with that hierarchy can only be analyzed through extraordinary remedies (review and cassation), so accepting the review of those conducts as a prerequisite for a determination of the existence or non-existence of a judicial error (yerro judicial) not only breaches the legal security and certainty of res judicata (cosa juzgada), but also invades the competences specific to the Cassation Chambers, an aspect that, of course, this Court cannot share. It is not for this Administrative Litigation Court to qualify the conduct of other jurisdictions in order to establish whether they were issued with judicial error (error judicial) or not. That would imply, it is insisted, a reflexive review of those criteria, a matter reserved for the competent appellate instances, and the exercise of a power that cannot be derived from the generic competence granted by Article 2, subsection b) of the Administrative Litigation Procedure Code - which encompasses claims of liability against the Administration and generally against the State, in application of canon 49 of the Magna Carta -, therefore, without an enabling legal basis. </span></p>\n\n<p class=MsoNormal style='text-indent:34.0pt;line-height:150%'><b><span\nstyle='font-family:Arial;color:#010101'>X.- </span></b><span style='font-family:\nArial;color:#010101'>It must be insisted, it is necessary that the error be serious, evident, and gross. The mere circumstance that an appellate or cassation instance opts for a different legal criterion could not be considered a reparable judicial error (error judicial). It is necessary that the decision be openly arbitrary, openly contrary to the legality of the case, and so expressed in the ruling that revokes or annuls the lower court's (A quo) criterion. The same applies when the new criterion is based on arguments not expressed before the trial judge (provided they are issues that must be debated by the parties in application of the principle of party presentation), or is based on novel evidence provided in the appellate phase. In those cases, the existence of a judicial error (error judicial) could not be affirmed when the challenged judgment was issued without having those elements of conviction or substantive arguments that can only be subject to a ruling if debated by the parties (congruence), without this implying a disregard of the principle iura novit curia. Therefore, the mere variation of a precedent criterion does not lead, as a general rule, to an indemnifiable judicial error (error judicial). A meticulous and case-by-case examination of the particularities of each proceeding is necessary, in order to establish whether that type of error has occurred that allows liability for the jurisdictional function to arise. For example, a ruling ordering the auction of a property given as guarantee for a credit obligation already settled by compensation, a situation unknown to the judge despite the constant arguments of the alleged debtor and its proof within the case file, deciding that the debt is not settled, ordering the auction of the real guarantee, does not merit the same treatment as the liability that may arise from the legal criterion of considering a specific right subject to a statute of limitations to be in force, which later, due to different legal evaluations, the appellate court (Ad quem) considers to be time-barred. In the first case, it is clear that an indemnifiable error may be configured due to the disregard of a situation proven in the case file, which ultimately resulted in the auction of the property. In the second, it involves different criteria and normative evaluations, ultimately, the judge's independence of judgment, unless the aforementioned expiration is evident. An indemnifiable judicial error (yerro judicial) does not exist due to the mere dissonance of legal criteria; there must be a declaration of the existence of a serious mistake, generating harm to a third party. This is precisely the third aspect, namely, proof that this criterion, considered mistaken, produced concrete harm. More simply, </span><span style='font-family:Arial'>it must be specified that the existence of this right to reparation is subject, on the one hand, to the resolution containing a possible judicial error (error judicial) having deployed its effects and, with them, having produced a detriment in the affected party's legal sphere. <span style='color:#010101'>As an additional aspect, it should be clarified, the indemnifiable error is not limited to the hypothesis of the review remedy, although it constitutes the scenario from which it can most probably be derived. However, in principle, what is usual is that it stems from a final jurisdictional decision possessing the authority of res judicata (cosa juzgada). Nor is it exclusive to the criminal jurisdiction. It is clear that it permeates the other jurisdictions, for, although criminal matters are where the legal development of the figure is evident, this does not imply it cannot occur in others. This criterion should not be confused with the abnormal functioning that occurs in the classic conception of lack of functioning, defective service, or erroneous service. Seen this way, it is a term of greater breadth, covering the already discussed scenario of judicial error (error judicial), but also the deficiencies that, in terms of deficient service or delay of justice, are linked, in principle, to the aspect of administration of justice or the judicial function, therefore, regulated by the liability regime addressed in the General Law of the Public Administration. (On that clarification, see the aforementioned judgment No. 654-2008 of the First Chamber of the Supreme Court of Justice)</span></span></p>\n\n<p class=MsoNormal style='text-indent:17.0pt;line-height:150%'><b><span\nstyle='font-family:Arial;color:#010101'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XI.- On liability for judicial error (error judicial) proven in a review remedy. </span></b><span style='font-family:Arial;color:#010101'>Having clarified the general aspects of the liability system for judicial error (error judicial) and the scope of judicial error (error judicial), we proceed to examine the allegations raised in the specific case. The claimant bases his claim on what he considers the liability of the judging State for the judicial error (error judicial) committed by having declared him guilty of the crime of rape to the detriment of Juan José García Garay, sentencing him to ten years in prison through judgment No. 327-2004 of the Trial Court of the First Judicial Circuit of San José and subsequently having been acquitted by resolution No. 2006-00565 of the Third Chamber of the Supreme Court of Justice. In essence, he argues, the sentence was imposed without having produced the offered evidence consisting of the testimony of Joseph Molina Alfaro and Freddy Meléndez Pacheco. He alleges that he was acquitted without considering the error made by the judges. He says that when he was judged, the only existing evidence was a report from the Municipal Police and the testimony of the complainant. He indicates that the judgment that convicted him made no reference to the inability to produce (inevacuabilidad) the offered testimonial evidence, leaving him in a state of defenselessness. He claims to have suffered an assault with a bladed weapon while incarcerated on March 13, 2005. He alleges having served pretrial detention without evidentiary elements indicating he had committed the crime. He asserts that the criminalistic analysis report issued by the Department of Forensic Sciences of the Judicial Investigation Agency states that no male cells were detected and concluded that no evidence of the presence of semen was found. He explains that these elements did not incriminate him and were not a sufficient basis to impose pretrial detention, much less to hold him as the responsible perpetrator of the reported acts.&nbsp; The summarized arguments require entering into the analysis of the figure of compensation for judicial error (error judicial) by virtue of the acquittal ordered in a review remedy. As stated in previous sections, the State's liability in its jurisdictional function requires proof of abnormal functioning and, for what is relevant to this proceeding, proof of a judicial error (error judicial) that has been declared by the competent authorities within the exercise of appeals against the decision. Such declaration is unavoidable, considering that it is not within the purview of this Court to analyze the legality, appropriateness, or not of the final judicial pronouncements of other jurisdictional bodies, a matter that falls outside the competence of this jurisdiction and is the sole concern of the authorities to which such competence has been assigned. In this area, criminal procedural law regulates the issue of liability for judicial error (error judicial), specifically, when in the extraordinary review phase, it is determined that an error of fact or law existed in the conviction. On this particular, mandate 419 of the Criminal Procedure Code indicates: “When, due to the review of the proceeding, a judicial error (error judicial) is recognized, as a consequence of which the sentenced person served a sentence they should not have served, or a greater or more serious one than that which corresponded to them, the court hearing the review may order the payment of compensation by the State at the request of the interested party, provided that the latter has not contributed with intent or fault to produce the error./ The judges who issued the reviewed sentence shall be jointly and severally liable with the State, when they have acted arbitrarily or with gross fault under the terms of Article 199 of the General Law of the Public Administration./ Civil reparation may only be awarded in favor of the convicted person or their legitimate heirs.” (Emphasis is not from the original) From the analysis of said regulation, the imperative need arises that the authority competent to hear the review remedy, in this case, the Third Chamber of the Supreme Court of Justice, has recognized the existence of a judicial error (error judicial). However, from a detailed analysis of the case file, it does not emerge that said Chamber, in judgment number 2006-00565 at 3:10 p.m. on June 7, 2006, decreed the existence of such mistake, a prerequisite for the reparation requested. In effect, the analysis expressed by that high Court reflects that the ordered acquittal was due to the acceptance of new testimonial evidence that was neither weighed nor produced in the trial phase or in cassation, namely, the deposition of Freddy Meléndez Pacheco, which, once received, led the Court to consider that, given the reasonable doubt as to whether the defendant had committed the crime attributed to him or not, acquittal was appropriate. In that sense, it essentially held: \"Confronting this testimonial evidence with the prosecution evidence examined in the judgment, from the two police officers who testified about what was narrated by the victim and from what the victim stated when reporting, that he had been the object of a sexual assault by an unknown person, this Chamber finds that although it is not proven conclusively that the act did not exist or that the defendant did not commit it, it does have the virtue of generating significant doubt about the circumstances in which the act occurred. (...) Certainly, there is a medical-legal report revealing that the victim presents anal fissures, however, this in itself does not allow inferring the circumstances under which they were caused. As a corollary of the foregoing, the evidence provided by the defendant in the review does not make the fact disappear, but introduces a fundamental element that undermines the evidentiary bases that gave rise to the conviction, by calling into question the statements made by the victim in his report, about not knowing the accused and about the veracity of the act attributed to the accused, generating doubt about what really occurred. Our procedural and constitutional system requires a conviction to be based on the certainty provided by the evidence, and as in this case, the evidence provided in review, examined in relation to that received at trial, has left doubt about the accused's responsibility, it obliges the application of Article 9 of the Criminal Procedure Code, which establishes that in case of doubt on questions of fact, the most favorable to the defendant shall be observed. Consequently, it is appropriate to grant the review filed, set aside the imposed conviction, and instead acquit the defendant Jorge Brooks Casasola of the crime of rape attributed to him to the detriment of J.J.G.G. The freedom of the accused is ordered if no other cause prevents it.\" (Emphasis is not from the original) As observed, the result of acquittal stemmed from a criterion of reasonable doubt and in dubio pro reo, derived from the incorporation of a new element of conviction that was not considered in the prior phases of the process. Although the claimant argues that from the beginning of the criminal proceeding, he offered the testimony of Mr. Freddy Meléndez Pacheco, which can be verified in the record of the preliminary hearing held at 3:00 p.m. on February 27, 2004, folios 139-141 of the certification of criminal case file No. 03-013207-0042-PE, and that the failure to produce such evidence caused defenselessness and subsequently judicial error (error judicial), the fact of the matter is that in the order for trial opening issued at 4:04 p.m. on February 27, 2004, regarding those testimonial evidence, it was indicated: \"Testimonial. (...) Although it is true the defense mentioned the interview of Messrs. Freddy Meléndez Pacheco and Francisco Jiménez Elizondo as grounds for the request for provisional dismissal, it is true that it did not offer them as testimonial evidence (...)\" (Folio 144 of the criminal case file) No disagreement with that decision was formulated either in the oral and public trial held at 8:40 a.m. on April 1, 2004 (folios 163-168 of the criminal case file), or in the cassation appeal filed at folios 181-200 of the criminal record. It was not until the review remedy that the claimant offered the witness Freddy Meléndez Pacheco as new evidence. In resolution No. 2005-01525 at 9:35 a.m. on September 23, 2005, the Third Chamber admitted the review remedy regarding the aforementioned offer of the new testimony (folios 308-310 of the criminal record). Ultimately, as stated, weighing the testimonial deposition, together with the other evidence contained in the criminal case file, it ordered acquittal on grounds of doubt for the defendant, ordering his release. The foregoing implies that the claimant did not formally offer the evidence that he later incorporated in the review procedure, nor did he timely challenge the judge's criterion of not considering the statements of Freddy Meléndez Pacheco and Francisco Jiménez Elizondo as testimonial evidence. From the above, it is concluded that the criterion for ordering acquittal was the weighing of that new evidence offered and admitted (Article 408, subsection e of the Criminal Procedure Code). However, this does not imply, as the plaintiff claims, a judicial error (error judicial). The new criterion is based on the assessment of evidentiary aspects that were not present in the conviction. Note that even the criterion of the Trial Court was confirmed by the Third Chamber through resolution No. 2004-01100, reflecting that the factual and legal assessment made with the evidence existing in the case file at that time was in accordance with law. This proves that, in the present case, there has been no declaration of the existence of a judicial error (error judicial). The ruling of that high Court in the review procedure does not speak of that error, nor can this Chamber derive it from the analysis of the case file. From that standpoint, the requested reparation is unfeasible, as the basic prerequisite for ordering it is absent, namely, the unavoidable criterion of imputation for such purposes. </span></p>\n\n<p class=MsoNormal style='text-indent:17.0pt;line-height:150%'><span\nstyle='font-family:Arial;color:#010101'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>XII</b><b>.-</b> From that standpoint, in the absence of judicial error (error judicial) and by virtue of the cause for acquittal, it is the criterion of this Chamber that there is no place for compensation for the imprisonment to which the plaintiff was subjected, nor for the pretrial detention imposed at the time. Regarding the first, it is clear that the imprisonment to which the plaintiff was exposed as a derivation of the conviction and its confirmation in cassation cannot constitute a parameter for compensation in the terms requested. </span><span style='font-family:Arial'>This is because it was the reasonable doubt about the commission of the crime that motivated the release, a product of the weighing of evidence that was not available in the oral and public trial, so in the terms already stated, the conviction was in accordance with law. It was not until the issuance of the ruling in the review phase, and as a consequence of assessments of new evidentiary elements, that he is acquitted, which implies that the imprisonment ordered based on that first ruling, confirmed in cassation, was supported by a judicial ruling in which, ultimately, the concurrence of a judicial error (error judicial) was not demonstrated. <span style='color:#010101'>From that standpoint, the imprisonment was the result of the application of a final jurisdictional ruling, which was upheld by the same Third Chamber in hearing the cassation appeal filed by the plaintiff and which, therefore, implies the effectiveness of a resolution in which no irregularity was detected in the factual, evidentiary, or legal analysis. Although acquittal was later ordered for the reasons already extensively discussed, this does not mean that those decisions were mistaken with clear judicial error (error judicial), and to that extent, the imprisonment imposed, as an effect of those, is not a basis for possible reparation under the criterion of liability for judicial error (error judicial). </span>Thus, it cannot constitute a parameter to justify the sought compensation. <span style='color:#010101'>The same occurs with the aforementioned pretrial detention. For the purposes of numeral 108 of the Criminal Code, the precautionary measure of personal order under discussion cannot be considered unfounded. It does not emerge from the case file that the pretrial detention measures and their respective extensions were ordered arbitrarily. Quite the contrary, each of the resolutions issued in that regard, namely, the ruling at 11:40 a.m. on July 13, 2003, (Folios 8-14 of the criminal case file), resolution at 4:30 p.m. on October 13, 2003 (Folios 42-45 of the criminal case file), were confirmed by the Criminal Court of the First Judicial Circuit of San José, by resolutions at 8:30 a.m. on August 1, 2003 and No. 999-03 at 2:30 p.m. on October 22, 2003, respectively. Equally substantiated is the determination at 3:45 p.m. on January 13, 2004, again, the Criminal Court of San José decreed the extension of pretrial detention for a period of three months, to expire on April 13, 2004. In all these resolutions, an analysis of the prerequisites that allow for this type of personal precautionary measure is presented, in accordance with numerals 238 and 239, both of the Criminal Procedure Code. In this line of exposition, the eventual liability provided for in the previously mentioned Article 108 is only viable when the acquittal ordered in a review procedure has been based on criteria of full proof of innocence. Otherwise, that is, when it has stemmed from the presumption of innocence, national case law has understood that pretrial detention constitutes an important tool for the dynamics of preliminary investigations and the proper course of the criminal process. In that line, resolution No. 115 at 2:30 p.m. on November 11, 1998, of the First Chamber, cited in judgment No. 1011-2006 of that high Court, analyzing the appropriateness of applying the liability referred to in numeral 108 of the Criminal Code, interpreted: \"<b>VIII.- The referenced article of the Criminal Code, in light of what is stated in the immediately preceding recital, would only be applicable in the event of there being pretrial detention and, subsequently, the innocence of the accused is fully demonstrated. Only under this circumstance could the deprivation of liberty, arising from a necessary judicial investigation, be considered unjustified and susceptible to reparation.</b></span></p>\n\nOtherwise, the action of justice, in areas as rugged and sinister for society as drug trafficking is today, would be ostensibly hindered. (...)&nbsp; When the acquittal is obtained, as occurs in this case, by virtue of the application of the principle \"in dubio pro reo,\" obviously innocence has not been indubitably demonstrated. (...) Therefore, as set forth in recital (considerando) IV, in those cases there are sufficient grounds to conduct the investigation of the unlawful act and, consequently, to take all necessary measures, provided for in our legal system for those purposes. Among them, pretrial detention. Within those scenarios, such measures are not illegitimate, as the plaintiff argues. Therefore, they cannot generate liability for the State or its servants.\" </i>Ergo, given the lack of accreditation of full demonstration of innocence and the non-occurrence of a judicial error in this case, the reparation is also improper, on that account.¨</span></p>\n\n<p class=MsoNormal><o:p>&nbsp;</o:p></p>\n\n</div>\n\n</body>\n\n</html>\n\nIn the conclusions phase, the State representation reiterates the defenses of lapse (caducidad) and statute of limitations (prescripción) invoked at the preliminary hearing held on June 9, 2010, and which were rejected in the procedural stage by a resolution at 3:00 p.m. It indicates that the lapse (caducidad) is evident given that if the plaintiff felt aggrieved by judicial actions, he should have filed the civil liability action against the judge provided for in canon 85 of the Civil Procedure Code. However, the 1-year period regulated by mandate 87 ibidem had already expired at the time of filing the claim. Nombre9510, regarding the statute of limitations (prescripción), more than the four years established by precept 198 of the General Law of Public Administration have elapsed since the finality of the conviction. On this matter, the following must be noted. In civil proceedings involving the public treasury (procesos civiles de hacienda), as established by numeral 41 of the Contencioso-Administrative Procedure Code, the maximum period to initiate proceedings is the same as that established by law as the statute of limitations period for the substantive right. This presupposes an analysis in each case of whether the prescriptive period for the substantive right is still in effect, so that as long as it remains in effect, the judicial path remains open. From this standpoint, it is clear that in this matter, the lapse (caducidad) of the action does not apply, but rather the statute of limitations (prescripción) of the substantive right. The First Chamber of the Supreme Court of Justice has expressed itself along these lines, among others, in judgment No. 654-2008 of 10:05 a.m. on September 26, 2008. Therefore, the defense of lapse (caducidad) must be rejected. The allegation of lapse (caducidad) due to the expiration of the one-year period provided for in numeral 87 of the aforementioned Code must suffer the same fate. The present proceeding is not one of civil liability of the judge provided for in ordinals 85 to 95 of the Civil Procedure Code, but rather one of State liability for jurisdictional function, so the applicable rules are not those invoked by the State attorney, but those that will be stated later. Now, regarding the statute of limitations (prescripción), it is clear that the applicable period for the statute of limitations of liability for the exercise of jurisdictional function is four years, due to the application to that matter of numeral 198 of the General Law of Public Administration. Although in the specific case of that jurisdictional function there is no special rule establishing a specific period for those purposes, it is necessary to integrate the legal system. In this sense, dynamically, faced with this gap, one must turn to an examination of the nature of the legal relationship under debate, in order to infer the most analogous regulation. Thus, in the absence of an express rule in the specific matter subject to this judgment, by virtue of the principles of completeness and coherence of the legal system, integration mechanisms must be used to resolve said gap and establish the most appropriate period for this specialized matter. To do so, clarity is needed in the sense that the type of liability alleged is of an extracontractual nature, which would make the application of provisions regulating contractual statutes of limitations (prescripción contractual) unfeasible. Dealing with the framework of State liability, one must consider, then, first the legal sources that regulate similar aspects. To that extent, from the various rules relating to the matter of statutes of limitations (prescripción), insofar as the point to be elucidated is the duty of reparation by the State, the prescriptive timeframe defined by the legal system for cases of State liability must be used as an integration mechanism. To do so, one must start from the maxim that public liability is based on the general liability clause established by constitutional canon 9. It is evident that legislative development of this topic has occurred with greater emphasis in the General Law of Public Administration, a regulation which, apart from specific regulations in judicial or legislative matters, has become the reference base for addressing the topic concerning the Legislative and Judicial Branches. Hence, due to the affinity of the matter, the closest rule regulating the prescriptive period is precept 198 of the General Law of Public Administration, which establishes a four-year period for the statute of limitations (prescripción) of the right to claim indemnification. As the First Chamber indicated in the aforementioned judgment 654-2008: \"Thus, if the legal system imposes, by special rule, a period of four years to claim from the State compensation for damage it has caused by its conduct, attending to the principle of equality, for reasons of certainty and legal certainty, that same period is applicable when the detriment arises from the exercise of its jurisdictional functions. Thus, based on integrative mechanisms of Law, this collegiate body concludes that the applicable period is the four-year period indicated, as it corresponds to State extracontractual liability, which is therefore usable in this case.\" Now, in this specific case, unlike what was argued by the State representative, the starting point of the cited prescriptive period is not conviction judgment No. 327-2004 of April 15, 2004, nor its confirmation by cassation judgment No. 2004-01100 of September 10, 2004. The beginning of the computation of that period must be taken from the issuance and notification of the judgment issued in the review process (proceso de revisión) that ordered the acquittal of the then-accused, that is, judgment No. 2006-00565 of June 7, 2006, notified on June 29 of that same year. It is with that jurisdictional determination that the plaintiff is in a position to establish that the effects of the judicial precedents that established his guilt for the crime of rape to the detriment of Nombre141372 and ordered his imprisonment have, according to him, caused him damage due to judicial error that the State must compensate. Before that factual circumstance, one cannot speak of the existence of an objective basis that would allow establishing the liability claim now being decided in this litigation, so making the four-year period run from dates prior to the proper notification of the judgment issued in the review phase is contrary to the rules derived from the cited ordinal 198 of Law No. 6227 and exposes the person claiming a right to its expiration over time, without having an objective possibility of knowing the source of the damage and claiming its reparation. Ergo, it is from June 29, 2006, that the cited statute of limitations (prescripción) period must be computed, meaning expiration would occur on June 30, 2010. From the review of the case file, it is clear that the present claim was filed on October 21, 2009, corrected on November 4, 2009 (folios 1 and 26 of the main file). The State was notified of this process on December 3, 2009, according to the notification record visible at folio 37 of the judicial file. The foregoing makes it evident that the liability claim was filed and notified before the expiration of the prescriptive period. Therefore, the defense of statute of limitations (prescripción) raised by the State must be rejected.\n\nIV.- Liability of the State for jurisdictional function. Basis of the system. The core object of this process revolves around determining the existence or not of liability that, according to the plaintiff, arises from having served prison time due to judgment No. 327-2004 at 4:00 p.m. on April 15, 2004, of the Trial Court of the First Judicial Circuit of San José, which declared him responsible for the crime of rape to the detriment of Nombre141372, for which he was sentenced to a custodial sentence of 10 years, later confirmed by judgment No. 2004-01100 at 11:50 a.m. on September 10, 2004, of the Third Chamber of the Supreme Court of Justice. He states that, by judgment No. 2006-00565 at 3:10 p.m. on June 7, 2006, that same Chamber, hearing an extraordinary motion for review (recurso extraordinario de revisión), ordered his acquittal for the crime of rape to the detriment of Nombre141372, ordering his release, if no other cause prevents it. He seeks compensation for the time he was imprisoned despite the subsequent acquittal. Given this subject matter, it is necessary to provide a brief reference to core aspects regarding State liability in its jurisdictional exercise, with special emphasis on that which may arise from a judicial error determined in a review process (proceso de revisión), under the terms of canon 419 of the Criminal Procedure Code. The relations that occur between individuals and centers of public authority are subject to a series of principles that configure the amalgam of rights and obligations applicable to each of the parties involved. In this dynamic, within the framework of the Social State of Law (Estado Social de Derecho), numeral 11 of the Magna Carta establishes the so-called principle of legality as a guiding criterion for public functioning. It is a maxim that imposes the submission of the State to the law, and by virtue of which, all public conduct must occur within the framework of legality, understood as the set of written and unwritten sources (according to the hierarchical scale of sources - article 7 ibidem) that regulate that functioning. The allusion to the State is made in its broad dimension, that is, the set of units that make up the Executive, Legislative, and Judicial Branches, which includes the organs of constitutional relevance. From that angle of examination, canon 9 of the Magna Carta establishes the general liability clause of the State, a norm that constitutes a basic guarantee allowing a person who, as a consequence of an action or omission by a center of public power that has caused a harmful effect they have no legal duty to bear, to demand reparation for that injurious effect. Likewise, it finds development and complement in the principle of legality (article 11), equity in the distribution of public burdens (ordinals 18 and 33), protection of legal situations and consolidated rights (precept 34), full reparation for damage (article 41), patrimonial indemnity (canon 45), effective judicial protection (mandate 49), maxim of social solidarity (74 constitutional), responsibility of the presidential office (148 ibidem), liability of the Judicial Branch (154 and 166 ejusdem), liability of autonomous institutions (numeral 188). These norms constitute the bases of the referred system, which requires the economic reparation of patrimonial or extra-patrimonial injuries occurring as a derivation of public conduct or omissions, which the victim has no duty to bear. The fundamental basis of that liability has been a topic of development by the Constitutional Chamber, in its judgment no. 5981 at 3:41 p.m. on November 7, 1995. Indeed, such duty turns out to be the consequence of a constitutional system of guarantees that the Legal System grants to persons and forms the core structure of the Rule of Law (Estado de Derecho), namely: legality, universal control of State conduct, distribution of functions, and a system of public liability. The empowerment granted to the State for the fulfillment of its purposes, within the framework of its various functions—executive, legislative, and judicial—carries as a direct consequence the creation of a liability system that allows for the reparation of injurious effects that its conduct may generate in the legal sphere of individuals, protection that comprises, as stated in numeral 49 of the Magna Carta, subjective rights and legitimate interests. This subject matter has undergone greater development in the case of the liability of Public Administration, a topic even regulated in ordinals 170.1, 190 to 213 of the General Law of Public Administration, and with extensive evolution in national jurisprudence. On the matter, see, among many, judgment no. 584 at 10:40 a.m. on August 11, 2005, of the First Chamber of the Supreme Court of Justice. Nonetheless, the same General Law mentioned refers in article 194.3 to liability for the issuance of law, opening the regulation for the imputation of liability for the parliamentary exercise of lawmaking. By parity of reasoning and based on those same constitutional norms already pointed out, the mentioned system allows for liability for legislative omission, law declared unconstitutional, and the approval of international treaties. Of course, in each case, it is necessary for the affected party to prove the existence of effective, assessable, and individualizable damage, as a prerequisite of the duty to repair.\n\nV.- This broad scheme of public liability is complemented by that which may arise against the State for its jurisdictional (not judicial) function. Fundamentally, this function is exercised primarily (not exclusively) by the Judicial Branch. In accordance with what is stipulated by mandate 153 of the Political Constitution, by virtue of that jurisdictional function, the Judicial Branch is responsible for resolving the conflicts of individuals, definitively, that is, with the authority of res judicata (cosa juzgada) and the force of legal truth. Such jurisdictional exercise can also be observed in the processes that must be resolved exclusively by the Supreme Electoral Tribunal, in the so-called electoral jurisdiction. On this matter, canon 220 of the Electoral Code, Law No. 8765 assigns that jurisdictional competence in the following matters: a) The electoral amparo remedy, b) The challenge of agreements of political party assemblies in the process of constitution and registration, c) The action for annulment of party agreements, d) The electoral appeal remedy, e) The claim for annulment relating to electoral results, f) The cancellation or annulment of credentials, and g) The complaint for partiality or political belligerence. Hence, all functions that the legal system attributes and assigns to the Judicial Branch should not be included within liability for jurisdictional exercise. From that standpoint, the core function of the judge is the control of legality and the application of the Law for the resolution of specific cases in order to materialize the principles of prompt and complete justice and effective judicial protection. Ergo, if it holds that condition of guarantor of the Legal System, the Law must protect the necessary guarantees that allow the attribution of liability for judicial errors. It is clear that such a typology of liability must not be confused with the civil liability of the judge for personal fault, regulated by numerals 85 to 95, both inclusive, of the Civil Procedure Code. In that case, it concerns a direct imputation to the official (male or female), therefore, within the framework of that regulation, it adheres to a subjectively oriented system, which requires proof of intent or gross negligence. Liability for jurisdictional exercise surpasses that criterion. It extends to a duty that involves the State as such. In relation to this, the First Chamber of the Supreme Court of Justice, among others, in judgment 1011-2006, established that the jurisdictional function is subject to the unavoidable limits imposed by the Legal System, meaning its exercise must be compatible and harmonious with the constitutional and legal precepts that, by virtue of its nature, it must apply to the specific cases being judged. The foregoing derives from what is established by numerals 11 and 154 of the Magna Carta. In this conduct, it is clear that its actions, insofar as they are arbitrary and contrary to Law, can generate damages to individuals, from which it follows and is justified that it is responsible for those eventual consequences, provided that within a framework of causality, it can be demonstrated that the damage is the result of arbitrary conduct contrary to Law. This has been established even by the Constitutional Chamber itself, an instance that on the topic of the liability of the Judicial Branch has stated, among others, in vote 5981 at 3:41 p.m. on November 7, 1995, the following: \"V. ON THE OBJECTIVE LIABILITY OF THE JUDICIAL BRANCH. PRINCIPLES. (…) The liability of the State derived from the exercise of the jurisdictional function must be governed in accordance with what is established in the Political Constitution itself and in the law, as provided in the Fundamental Charter in its article 154 (…): 'The Judicial Branch is subject only to the Constitution and the Law, and the resolutions it issues in matters of its competence impose no other responsibilities upon it than those expressly indicated by legislative precepts.'; from which two basic conclusions derive: 1.) First, it constitutes a constitutional principle the direct liability of the State in cases of judicial error and abnormal functioning of the administration of justice, which derives precisely from what is specifically provided in constitutional article 9, (…) in relation to constitutional articles 11, 33, 41, and 154, and which is consistent with the principles of the Social State of Law (Estado Social de Derecho), precisely with that of the prohibition of arbitrariness of public powers, that of legal certainty and equality of all citizens before the law. This liability is justified by the fact that the function of judging is a manifestation of a Power, one of the three of the State, which implies its condition as a public service, an organization of material and personal means destined to satisfy the social demand for justice. In this sense, in a Rule of Law State (Estado de Derecho), both the administrative function and the jurisdictional function constitute modes of executing the law, and their only distinction lies in the effects; it corresponds to the courts of justice to verify facts and law through judgments that possess a special force, the own legal value called 'res judicata' (cosa juzgada), by virtue of which it cannot be modified, discussed, withdrawn, or retracted, except only through the remedies established by law; the decision of the Administration does not have this force of legal truth that is recognized for res judicata. It must be kept clear that they are two distinct functions, both responding to distinct purposes; while the administrative function is destined to meet the needs of the community, the jurisdictional function aims to consolidate public order through the resolution of disputes and the sanctioning of law violations; but that, equally, they are subject to the State liability regime, insofar as the damage caused by the exercise of any of these functions is attributable to an act of the State, and therefore, capable of engaging its liability. By virtue of the provisions in the transcribed articles 9 in relation to 153 of the Constitution, in consonance with the general principle that 'everyone who causes harm must repair it,' the Judicial Branch could not be exempted from liability for 'judicial error' in the exercise of the jurisdictional function. It should be noted that this objective liability of the State complements the civil, criminal, and disciplinary liability to which the judge is subject, since these are not sufficient to adequately guarantee the interests of the litigants, which, due to the difficulties in demanding compliance, turn the possible claim into a veritable obstacle course, and in most cases, leaves unprotected those situations where it is not possible to appreciate the judge's intent or negligence. The liability must arise from intentional or negligent conduct of the jurisdictional organ, whether or not it constitutes a crime (liability for fault).” On the topic, resolution no. 5207-2004, at 2:55 p.m. on May 18, 2004, from that same Chamber can also be consulted.\n\nVI.- Nonetheless, it is insisted, the liability specific to the Judicial Branch in the jurisdictional exercise must not be confused with the other facets of its competencies, which do not fit that category. On one hand, there arises that pertaining to the function of administration of justice, viewed as a public service. It concerns the duty to resolve conflicts objectively, promptly, and opportunely. Included within this category are all those non-jurisdictional acts emanating from the offices that form part of what doctrine has termed “Judicial Branch as an organization.” That is, they are the organs and organizational support that enable the exercise of the jurisdictional function proper. It refers to the objective profiles of jurisdictional function: organization and functioning of courts, efficient management of judicial offices, functions of administrative organs. To this space must be added the jurisdictional organs that, by legal imperative, perform a non-hierarchical supervisory function of a biphasic nature, as currently done by the Contencioso-Administrative Court regarding municipal matters, by imperative of mandate 189 of the Contencioso-Administrative Procedure Code. In this space, since it concerns non-jurisdictional matters, the rules on objective liability of the General Law of Public Administration would be applicable. On a second level, there are the auxiliary units that do not perform typical administrative activity, but which definitively cannot be considered jurisdictional conduct. These are the so-called judicial actions. This is the case of the Judicial Investigation Organism, Public Prosecutor's Office, Forensic Sciences, Public Defense, among others. These serve as support and fulfill an auxiliary role to the jurisdictional function, but their acts are not considered jurisdictional insofar as they carry out the task of investigation and inquiry. Their decisions are judicial acts stricto sensu. This distinction is evident in the regulations on criminal procedure. In precept 277 ibidem, it is established with complete clarity in its final paragraph, the impossibility of prosecutors performing jurisdictional acts, as well as the restriction on judges, except by legal authorization, from carrying out investigative acts. The same occurs with the Public Prosecutor's Office, whose functions can be observed in numerals 62, 275, 289, 290, and 291 of the Criminal Procedure Code, all related to its investigative and reporting powers. The First Chamber of the Supreme Court of Justice has taken note of this distinction, among others, in judgment No. 654-2008 at 10:45 a.m. on September 26, 2008. However, what is of interest in this case is that which is specific to that jurisdictional exercise, when it has incurred a judicial error. Thus, in this latter scenario (relevant to the present case), insofar as there is an unlawful or illegitimate injury caused to the litigant, produced as a consequence of these competencies, the objective liability of the State as Judge is imposed. As stated, the foregoing finds support in numerals 9, 11, 33, 41, and 154, all of the Magna Carta, norms that lay the foundations of liability for judicial error, the abnormal or illicit functioning of the jurisdictional function.\n\nVII.- Now, aside from the discussion that may arise regarding the necessity or not for the liability system for jurisdictional exercise to require specific legislative development, the fact is that in certain matters, the legislator has issued express rules that address the topic of that liability and its various prerequisites. It must be noted, however, that this Court, in resolution No. 765-2008 of October 2, 2008, has stated that aside from the content of precepts 154 and 166 of the Magna Carta, which suggest the necessary legislative production to be able to impute liability for jurisdictional function, that liability and its corresponding right to full reparation for damage find support in the same Law of the Constitution, in ordinals 11, 18, 33, 41, 45, 49, 50, 74, 188. In that line, the First Chamber, in the already cited judgment 1011-2006, indicated on the matter: \"It has already been pointed out that said liability derives from the same framework of the Law of the Constitution, as a relevant counterweight in the relations of the State with individuals and as a factor of high transcendence in the equation of the Rule of Law State (Estado de Derecho).\n\nUltimately, it is a guarantee in favor of the individual seeking justice (justiciable), who turns to the Judicial Branch (Poder Judicial) for their conflict to be resolved in accordance with legality, thus placing their trust in that facet of Public Power. The principle of state responsibility that emanates, as a general rule, from Article 9 of the Constitution and finds protection in other norms safeguarding individual guarantees, does not find frameworks of exception. While, in each area of that threefold dimension of functions (executive, legislative, and judicial), nuances operate that require specific treatment in each context, the truth is that the Legal System does not incorporate schemes of dispensation, outside of the reasonable scenarios when an unlawful injury (lesión antijurídica) is produced at its base, linked to a public action. The principles arising from the Law of the Constitution give content to said responsibility; therefore, even the absence of legal regulation, which, although it may detail that regime, does not in any way limit the duty to indemnify, when pertinent according to Law. Hence, one could not sustain an “impunity” of the State as Judge (Estado Juez), under the reasoning that it lacks legal development, since that responsibility is established by principle, within the framework of the Constitution, while also supposing a breach of legal certainty (seguridad jurídica), the principle of equality, and the control of arbitrariness of public powers. Seen this way, its recognition is not conditioned on the existence of a legal mandate that regulates it; ergo, what is provided in Article 166 ibidem is not an obstacle. The referred responsibility is governed by what is established in the Fundamental Charter (Carta Fundamental), that is, it constitutes a principle of constitutional basis, imposed by the referred norms and that seeks the control of the exercise of said function and the protection of the rights and interests of the individuals seeking justice (justiciables).\" \n\nVIII.- Within that set of scenarios where legislative development on the matter exists, criminal matters stand out, in which there are express rules, specifically, in numeral 271 of the Criminal Procedure Code (Código Procesal Penal) for the case of liability for the issuance of arbitrary precautionary measures and the scenario of pretrial detention (prisión preventiva) in a process where a definitive dismissal (sobreseimiento definitivo) or acquittal (absolutoria) with full demonstration of innocence is later ordered; canon 108 of the Penal Code (Código Penal), which regulates the potential subsidiary liability of the State when, by virtue of an appeal for review (recurso de revisión), the innocence of the convicted person is declared when they obtain an acquittal judgment after having suffered more than one year of pretrial detention; and finally, pursuant to Article 419 of the Criminal Procedure Code (Código Procesal Penal), which establishes public liability for the existence of judicial error (error judicial) accredited in a judgment issued in a review process. These latter manifestations are especially relevant to the case, being those that are applicable to the specific case and that, therefore, will be addressed below. Nonetheless, it is necessary to specify the scope of what is termed judicial error (error judicial). To this end, the explanation given by the First Chamber (Sala Primera) in the aforementioned vote No. 654-2008 must be cited, in the following sense: \"Note that numeral 154 of the Magna Carta (Carta Magna) uses the term 'resolution' (resolución), with which the different models that make up this category are included, be it decree (providencia), interlocutory orders (autos), interlocutory orders with the character of a judgment (autos con carácter de sentencia), and judgments (sentencias) (numeral 153 Civil Procedure Code [Código Procesal Civil]). On the other hand, it can occur, it is insisted, in thesis of principle, both due to judicial error (error judicial) and due to abnormal functioning (funcionamiento anormal). The former is a species of the common genus of abnormal functioning (funcionamiento anormal), for it is true that every judicial error (error judicial) theoretically supposes an abnormality in that functioning (ultimately, the most transcendent manifestation), but not the reverse. Judicial error (error judicial) encompasses any jurisdictional decision that deprives a person of one of their rights or legitimate interests and that proves to be erroneous or contrary to law. Seen this way, it is exclusive to the jurisdictional function, being, then, a modality of abnormal functioning (funcionamiento anormal) that only fits within that dimension. The foregoing includes not only error of fact (error de hecho) (due to mistaken knowledge or valuation of the facts, a ruling is dictated not adjusted to the factual reality and which, as such, becomes unjust), but also error of law (error de derecho) (such as a breach of the Law due to its improper interpretation, erroneous application, or lack of application). At this point, despite the existence of an entire system of appeals (sistema recursivo) against those decisions, what is decisive is that once the recognition of that judicial error has been given, compensable damages have been produced in the legal sphere of the person, as a consequence of those deficiencies (causal link [nexo causal]), in accordance with the Legal System. Ergo, the compensable error is not limited to the specific scenarios in which the legal system provides for such consequence, nor to criminal matters, such as the present one, due to a precautionary measure that proves unfounded, but on the contrary, its application transcends those circumstances to encompass the entirety of the jurisdictional function, that is, any resolution (resolución), irrespective of the jurisdiction in which it is issued, can result in the duty of reparation by the State if it generates an unlawful damage (daño antijurídico).\" (The highlighting is ours)\n\nIX.- Regarding the scope of judicial error (error judicial). Notwithstanding that aforementioned development, it is necessary to point out the following. Although judicial error (error judicial) allows for the reparation of the damage caused, it is fundamental to establish the implications of that term. The repairability to which reference is made depends, unavoidably, on the accreditation of the existence of a judicial error (error judicial) in that jurisdictional decision that has caused an unlawful injury (lesión antijurídica) at its base. For this, it must be clear that the mere fact that the recipient of the ruling does not share its content does not in any way suppose the existence of that referenced criterion of imputation. Indeed, as is well pointed out, judicial error (error judicial) encompasses any jurisdictional decision that deprives a person of one of their rights or legitimate interests and that proves to be erroneous or contrary to law. Note that this concept is different from abnormal functioning (funcionamiento anormal), for example, due to delay in the resolution of a specific case. In that latter variable, rules apply that are different from those specific to judicial error (error judicial), which are not relevant in this proceeding. In the matter of interest (judicial error [yerro judicial]), it is indispensable that its existence has been demonstrated. The foregoing supposes a declaration within the proceeding itself, or as part of it, within the appeal stages (fases recursivas) established by the legal system, which establishes the existence of an erroneous jurisdictional decision, contrary to law, be it by indirect violation (of fact or of law), or direct violation (by improper application, erroneous application, or defective interpretation), be it substantive or procedural. Nonetheless, the mere annulment or revocation of a resolution (resolución) does not imply, per se, an error of this nature, much less a sort of automatic right to indemnification. For this to occur, several requirements arise that condition the repairability of the injury. On one hand, the error must be gross (crasso), that is, it must involve a glaring, serious, and substantial defect. At this point, it is reiterated, the existence of the irregularity must be expressed through a resolution (resolución) of the authority itself (via revocation [revocatoria] or ex officio nullity [nulidad oficiosa]), or by an ordinary appellate instance (instancia de alzada ordinaria), that is, the appeals venue (sede apelativa). The declaration is also feasible through the exercise of extraordinary appeals (recursos extraordinarios), be it by a cassation judgment (sentencia de casación) or one dictated by virtue of an extraordinary appeal for review (recurso extraordinario de revisión). In essence, it is indispensable that there exists a jurisdictional declaration regarding a serious judicial error (error judicial) (within the same proceeding by the competent authority), detailing the aspects that determine that deficiency, a matter that pertains to each of the instances that, given that appeals scheme (esquema recursivo), are responsible for hearing the matter. For this, it is necessary that the jurisdictional appeals or remedies (recursos o remedios jurisdiccionales) offered by the legal system to question the resolution (resolución) that, in the recipient's view, causes them damages, have been utilized. This is decisive since inertia in this right, despite the possibility that the normative plexus offers to cease the disturbance, leads to the effects of said ruling acquiring firmness (firmeza) and, therefore, its implications in the legal sphere of the individual finding support in a decision with the authority of material res judicata (cosa juzgada material) regarding which no controversy has existed within the proceeding, or at least not formally. It is clear that the absence of the exercise of appeals (ejercicio recursivo) against the decision being alleged, be it through the appropriate ordinary appeals (ordinary appeals proper [recursos ordinarios procedentes]) (criterion of taxativity of challenges [criterio de taxatividad impugnaticia]) or through the extraordinary ones, prevents, within the dynamics of the processes, another jurisdictional unit from reviewing the decision of the lower court (A quo) and, in protection of the rights of the individual seeking justice (justiciable), suppressing that error which affects them, all due to the tacit acquiescence of the supposedly affected party. At this point, it must be understood that the appeals hierarchy (escala recursiva), embodied in each procedural regime, is precisely a guarantee of due process (debido proceso) and the tool that allows the individual seeking justice (justiciable) to question the decision with which they do not agree. In this line, an indemnifiable error could not be constituted by one contained in a decision that has been challenged and has not taken effect, but only one that has generated an effective, assessable, and individualizable damage, thanks to a jurisdictional determination that has produced material effects with a harmful result to the recipient in the terms indicated. Of course, those resolutions (resoluciones) that take direct effect, despite having been challenged through ordinary mechanisms (appeal with devolutive effect [recurso en efecto devolutivo] – e.g., numeral 569 of the Civil Procedure Code [Código Procesal Civil] –), insofar as a judicial error (yerro judicial) is accredited, allow for that pecuniary reparation. The contrary, that is, supposing the possibility of alleging a judicial error (error judicial) in a State liability proceeding, without there being a ruling from a superior authority, or from the same authority that has recognized its error (revocation [revocatoria] or ex officio nullity [nulidad oficiosa]), would lead to allowing, through this type of civil treasury proceedings (procesos civiles de hacienda), an attempt to analyze the legality of firm jurisdictional decisions, with the authority of res judicata (cosa juzgada), contrary to the appeals system (sistema recursivo) established by law and in complete disregard of the effects of that material res judicata (cosa juzgada material). It is worth remembering that resolutions (resoluciones) with that hierarchy can only be analyzed through extraordinary appeals (revisión and casación); therefore, accepting the review of those conducts as a prerequisite for a determination of the existence or not of judicial error (yerro judicial) not only breaches the security and legal certainty (seguridad y certeza jurídica) of res judicata (cosa juzgada), but also invades the competencies proper to the Cassation Chambers (Salas de Casación), an aspect that this Court cannot, of course, share. It is not for this Administrative Litigation Court (Tribunal Contencioso Administrativo) to qualify the conducts of other jurisdictions in order to establish whether they were dictated with judicial error (error judicial) or not. That would imply, it is insisted, a reflexive review of those criteria, a matter reserved for the competent appellate instances (instancias recursivas), and the exercise of a power that cannot be derived from the generic competence granted by Article 2, subsection b) of the Administrative Litigation Procedure Code (Código Procesal Contencioso Administrativo) – which encompasses claims of liability against the Administration and in general against the State, in application of canon 49 of the Magna Carta (Carta Magna) – therefore, without an enabling legal basis.\n\nX.- It must be insisted, the error must be serious, evident, and gross. The mere circumstance that, in the appellate or cassation instance, a different legal criterion is chosen could not be considered a reparable judicial error (error judicial). The decision must be openly arbitrary, openly contrary to the legality of the case, and expressed as such in the ruling that revokes or annuls the criterion of the lower court (A quo). The same occurs when the new criterion is based on allegations not expressed before the instance judge (provided they were matters that had to be debated by the parties in application of the principle of party presentation [principio rogatorio]), or when it is founded on new evidence provided in the appeals phase. In those cases, the existence of a judicial error (error judicial) could not be affirmed when the questioned judgment was dictated without having those elements of conviction or substantive arguments that can only be the object of a ruling if they were debated by the parties (congruence [congruencia]), without this supposing a disregard of the maxim iura novit curia. Therefore, the mere variation of a precedent criterion does not, as a general rule, lead to an indemnifiable judicial error (error judicial). A meticulous, case-by-case examination of the particularities of each proceeding is required in order to establish if that type of error has occurred that allows liability for the jurisdictional function to arise. For example, a ruling that orders the auction (remate) of an asset given as guarantee for a credit obligation already cancelled by set-off, a situation unknown to the judge despite the constant allegations of the supposed debtor and their accreditation within the case file, resolving that the debt is not cancelled and ordering the auction of the real guarantee, does not merit the same treatment as the liability that could arise from the legal criterion of considering a certain right subject to a prescriptive term to be in force, which later, due to different legal assessments, the appeals court (Ad quem) considers to be time-barred. In the first case, it is clear that an indemnifiable error can be constituted by the disregard of a situation accredited in the records, which ultimately produced the auction of the asset. In the second, it involves different normative criteria and assessments, ultimately, independence of the judge's criterion, unless the aforementioned expiration is evident. There is no indemnifiable judicial error (yerro judicial) by the mere dissonance of legal criterion; there must be a declaration of the existence of a serious mistake, generating damages to a third party. This is precisely the third aspect, namely, the accreditation that this criterion which was found to be mistaken produced a concrete damage. More simply, it must be specified that the existence of that right to reparation is subject, on the one hand, to the resolution (resolución) containing a possible judicial error (error judicial) having deployed its effects and, with them, a detriment having been produced in the legal sphere of the affected party. As an additional aspect, it must be specified that the indemnifiable error is not limited to the hypothesis of the appeal for review (recurso de revisión), although it constitutes the scenario in which it can most probably be inferred. Nonetheless, in thesis of principle, what is usual is for it to derive from a firm jurisdictional decision that possesses the authority of res judicata (cosa juzgada). Nor is it exclusive to criminal jurisdiction. It is clear that it permeates the other jurisdictions, for, although criminal matters are where the legal development of the figure is evident, this does not imply that it cannot occur in the others. This criterion must not be confused with abnormal functioning (funcionamiento anormal) occurring in the classic conception of lack of functioning, defective or erroneous performance. Seen this way, it is a term of greater breadth, covering the already discussed scenario of judicial error (error judicial), but also the deficiencies that, in terms of deficient performance or delay of justice, are linked, in principle, with the facet of administration of justice or the judicial function, therefore, regulated by the liability regime addressed in the General Law of Public Administration (Ley General de la Administración Pública). (On that precision, see the aforementioned judgment No. 654-2008 of the First Chamber [Sala Primera] of the Supreme Court of Justice [Corte Suprema de Justicia])\n\nXI.- Regarding liability for judicial error (error judicial) accredited in an appeal for review (recurso de revisión). The general aspects of the liability system for judicial error (error judicial) and the scope of judicial error (error judicial) having been specified, the examination of the allegations raised in the specific case is now addressed. The plaintiff bases their claim on what they consider the liability of the State as Judge for the judicial error (error judicial) committed by having declared them guilty of the crime of rape to the detriment of Nombre141372, sentencing them to ten years in prison through ruling No. 327-2004 of the Trial Court (Tribunal de Juicio) of the First Judicial Circuit of San José, and then having been acquitted by resolution No. 2006-00565 of the Third Chamber (Sala Tercera) of the Supreme Court of Justice (Corte Suprema de Justicia). In essence, they argue that the penalty was imposed without having taken the offered evidence consisting of the testimony of Nombre141373 and Nombre141374. They argue that they were acquitted without considering the error committed by the judges. They say, upon being tried, the only existing evidence was a report from the Municipal Police and the testimony of the complainant. They indicate that the judgment that convicted them made no reference to the unavoidable impossibility of taking the offered testimonial evidence (inevacuabilidad de la prueba testimonial), leaving them in a state of defenselessness. They assure they suffered an attack with a bladed weapon while incarcerated on March 13, 2005. They argue they served pretrial detention (prisión preventiva) without elements of proof indicating they had committed the crime. They assure that the forensic analysis report (dictamen de análisis criminalístico) issued by the Department of Forensic Sciences of the Judicial Investigation Agency (Organismo de Investigación Judicial) on Nombre9510 stated that no male cells were detected and concluded that no evidence of the presence of semen was found. They state that those elements did not incriminate them and were not sufficient grounds to impose pretrial detention (prisión preventiva) on them, much less to consider them the responsible perpetrator of the reported acts. The summarized allegations require delving into the analysis of the figure of indemnification for judicial error (error judicial) by virtue of the acquittal (absolutoria) dictated in an appeal for review (recurso de revisión). As has been indicated in the previous sections, the liability of the State in its jurisdictional function requires the accreditation of abnormal functioning (funcionamiento anormal), and for what becomes relevant to this proceeding, the demonstration of a judicial error (error judicial) that has been declared by the competent authorities within the appeal process (ejercicio recursivo) applicable against the resolution (resolución). Such a declaration is unavoidable, considering that it is not the province of this Court to analyze the legality, appropriateness, or otherwise of the firm judicial pronouncements of other jurisdictional bodies, a matter that escapes the competence of this jurisdiction and only pertains to the authorities to which such competence has been assigned. In this area, the criminal procedural regulations govern the issue of liability for judicial error (error judicial), specifically, when in the extraordinary review phase, it is determined that in the conviction judgment, there existed an error of fact or of law. On this matter, mandate 419 of the Criminal Procedure Code (Código Procesal Penal) indicates: “When, as a result of the procedure's review, a judicial error (error judicial) is recognized, as a consequence of which the sentenced person served a sentence that they should not have completed, or a longer or more severe one than they were due, the court hearing the review may order the payment of indemnification at the State's expense and at the request of the interested party, provided that the latter has not contributed with intent or fault to producing the error./ The judges who dictated the reviewed sentence shall be jointly and severally liable with the State, when they have acted arbitrarily or with gross fault in the terms of article 199 of the General Law of Public Administration (Ley General de la Administración Pública)./ Civil reparation may only be agreed in favor of the convicted person or their legitimate heirs.\" (The highlighting is not from the original) From the analysis of said regulation, the imperious necessity arises that the authority competent to hear the appeal for review (recurso de revisión), in this case, the Third Chamber (Sala Tercera) of the Supreme Court of Justice (Corte Suprema de Justicia), has recognized the existence of a judicial error (error judicial). However, from a meticulous analysis of the records, it does not appear that said Chamber, in judgment number 2006-00565 of 3:10 p.m. on June 7, 2006, decreed the existence of such a mistake, the prerequisite for the reparation being petitioned. Indeed, the analysis expressed by that high Court reflects that the acquittal (absolutoria) decreed was due to the acceptance of new testimonial evidence that was not weighed or taken in the trial phase or in the cassation venue, namely, the deposition of Nombre141374, which, once received, led the Court to consider that, given the reasonable doubt as to whether the accused had committed the crime attributed to them or not, what was appropriate was acquittal (absolutoria). In that sense, in essence, it ordered: \"Confronting this testimonial evidence with the incriminating evidence examined in the judgment, from the two police officers who declared about what was narrated by the victim and about what was said by the injured party when reporting, that they had been the object of a sexual assault by an unknown person, this Chamber finds that, while it is not conclusively demonstrated that the event did not exist or that the accused did not commit it, it does have the virtue of generating significant doubt about the circumstances in which the event occurred. (...) Certainly, there is a medical-legal report that reveals that the victim has anal fissures; however, this by itself does not allow deriving the circumstances in which they were produced. As a corollary of what has been said, the evidence provided by the accused in the review does not make the event disappear, but introduces a fundamental element that undermines the evidentiary bases that gave rise to the conviction, by casting doubt on the victim's statements in their complaint, about not knowing the defendant and about the veracity of the event attributed to the defendant, generating doubt about what really happened. Our procedural and constitutional system demands that a conviction be sustained on the certainty produced by the evidence, and as in this case, the evidence provided in the review, examined in relation to that received at trial, has left doubt about the defendant's responsibility, it obliges the application of Article 9 of the Criminal Procedure Code (Código Procesal Penal), which establishes that in the face of doubt on questions of fact, what is most favorable to the accused must be upheld. Consequently, it is appropriate to grant the review presented, set aside the imposed conviction, and in its place, acquit the accused Nombre141371 of the crime of rape attributed to them to the detriment of Nombre141376. The release of the accused is ordered if another cause does not prevent it.\" (The highlighting is not from the original) As observed, the result of acquittal (absolutoria) responded to a criterion of reasonable doubt and of in dubio pro reo, derived from the incorporation of a new element of conviction that had not been taken into account in the prior phases of the proceeding. Although the plaintiff asserts that from the beginning of the criminal proceeding they offered the testimony of Mr. Nombre141374, which can be cross-checked in the minutes of the preliminary hearing held at 3:00 p.m. on February 27, 2004, folios 139-141 of the certification of criminal case file No.\n\n03-013207-0042-PE and that the failure to admit this evidence caused defenselessness and subsequently a judicial error, the fact of the matter is that in the order to proceed to trial issued at 16 hours 04 minutes on February 27, 2004, regarding that testimonial evidence it was indicated: \"</span><span style=\\\"font-family:Arial; font-weight:bold; font-style:italic; color:#010101\\\">Testimonial.</span><span style=\\\"font-family:Arial; font-style:italic; color:#010101\\\"> (...) While it is true that the defense mentioned the interview of Mr. Nombre141374</span><span style=\\\"font-family:Arial; font-style:italic; color:#010101; -aw-import:spaces\\\">&#xa0;&#xa0; </span><span style=\\\"font-family:Arial; font-style:italic; color:#010101\\\">and Mr. Nombre141375</span><span style=\\\"font-family:Arial; font-style:italic; color:#010101; -aw-import:spaces\\\">&#xa0; </span><span style=\\\"font-family:Arial; font-style:italic; color:#010101\\\">as a basis for the request for provisional dismissal, it is true that it did not offer them as testimonial evidence (...)</span><span style=\\\"font-family:Arial; color:#010101\\\">\" (Folio 144 of the criminal case file). No disagreement was raised against that decision, neither in the oral and public trial held at 8 hours 40 minutes on April 1, 2004 (folios 163-168 of the criminal case file), nor in the appeal for cassation (recurso de casación) appearing at folios 181-200 of the criminal dossier. It was not until the review appeal (recurso de revisión) that the plaintiff offered as new evidence the witness Nombre141374</span><span style=\\\"font-family:Arial; color:#010101; -aw-import:spaces\\\">&#xa0; </span><span style=\\\"font-family:Arial; color:#010101\\\">. In Resolution No. 2005-01525 of 9 hours 35 minutes on September 23, 2005, the Third Chamber admitted the review appeal (recurso de revisión) regarding the aforementioned offering of the new testimony (folios 308-310 of the criminal dossier). Ultimately, as has been noted, weighing the testimonial deposition, together with the other evidence in the criminal records, it decided to acquit the accused on grounds of doubt, ordering his release. The foregoing implies that the plaintiff did not formally offer the evidence that was later incorporated in the review proceeding, nor did he timely challenge the judge's criterion of not considering the statements of Nombre141374</span><span style=\\\"font-family:Arial; color:#010101; -aw-import:spaces\\\">&#xa0;&#xa0; </span><span style=\\\"font-family:Arial; color:#010101\\\">and Nombre141375</span><span style=\\\"font-family:Arial; color:#010101; -aw-import:spaces\\\">&#xa0; </span><span style=\\\"font-family:Arial; color:#010101\\\">as testimonial evidence. From what has been stated, it follows that the criterion for ordering the acquittal was the weighing of that new evidence offered and admitted (Article 408(e) of the Code of Criminal Procedure (Código Procesal Penal)). However, this does not imply, as the plaintiff claims, a judicial error. The new criterion is based on the assessment of evidentiary aspects that were not present in the conviction judgment. Note that even the Trial Court's criterion was confirmed by the Third Chamber through Resolution No. 2004-01100, reflecting that the factual and legal assessment made with the evidence existing in the case file at that time was in accordance with the law. This proves that, in this case, there has been no declaration of the existence of a judicial error. The ruling of that high Court in the review proceeding does not speak of such a mistake, nor can this Chamber extract it from the analysis of the records. From this perspective, the requested compensation is impracticable, given that the basic prerequisite for ordering it is absent, namely, the non-deferrable criterion of imputation for such purposes. </span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; text-indent:17pt; line-height:150%\\\"><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">XII.-</span><span style=\\\"font-family:Arial; color:#010101\\\"> From this perspective, in the absence of a judicial error and by virtue of the cause for acquittal, this Chamber holds that there is no entitlement to compensation for the imprisonment to which the plaintiff was subjected, nor for the preventive detention (prisión preventiva) imposed at the time. Regarding the former, it is clear that the imprisonment to which the plaintiff was subjected as a result of the conviction judgment and its confirmation at the cassation (casación) stage cannot constitute a parameter for compensation under the terms requested. </span><span style=\\\"font-family:Arial\\\">This is because it was reasonable doubt about the commission of the illicit act that motivated the release, resulting from the weighing of evidence that was not available at the oral and public trial; therefore, under the terms already stated, the conviction judgment was in accordance with the law. It was only upon the issuance of the ruling at the review phase, and as a consequence of assessments of new elements of proof, that he was acquitted, which implies that the imprisonment ordered based on that first ruling, confirmed on cassation (casación), was supported by a judicial decision upon which, ultimately, the concurrence of a judicial error was not proven. </span><span style=\\\"font-family:Arial; color:#010101\\\">From this perspective, the imprisonment was the result of the application of a final jurisdictional ruling, which was endorsed by the Third Chamber itself in its knowledge of the appeal for cassation (recurso de casación) filed by the plaintiff and which, therefore, implies the effectiveness of a resolution upon which no irregularity was detected in the factual, evidentiary, or legal analysis. Even though the acquittal was subsequently ordered for the reasons extensively discussed, this does not mean that those decisions were misguided with a clear judicial error; and to that extent, the imprisonment imposed, as an effect of those decisions, is not a basis for potential compensation based on criteria of liability for judicial error. </span><span style=\\\"font-family:Arial\\\">Thus, it cannot constitute a parameter that justifies the claimed compensation. </span><span style=\\\"font-family:Arial; color:#010101\\\">The same occurs with the aforementioned preventive detention (prisión preventiva). For the purposes of Article 108 of the Criminal Code, the precautionary personal measure (medida cautelar de orden personal) under discussion cannot be considered unfounded. </span><span style=\\\"font-family:Arial\\\">It does not appear from the records that the measures of preventive detention (prisión preventiva) and their respective extensions were arbitrarily ordered. Quite the contrary, each of the resolutions issued in that regard, namely, the ruling of 11 hours 40 minutes on July 13, 2003 (Folios 8-14 of the criminal case file), the resolution of 16 hours 30 minutes on October 13, 2003 (Folios 42-45 of the criminal case file), were confirmed by the Criminal Trial Court of the First Judicial Circuit of San José, by resolutions of 8 hours 30 minutes on August 1, 2003 and</span><span style=\\\"font-family:Arial\\\">&#xa0;</span><span style=\\\"font-family:Arial\\\"> No. 999-03 of 14 hours 30 minutes on October 22, 2003, respectively. Equally well-founded is the determination at 15 hours 45 minutes on January 13, 2004, wherein, again, the Criminal Court of San José decreed the extension of the preventive detention (prisión preventiva) for a period of three months, to expire on April 13, 2004. In all these resolutions, an analysis is presented of the prerequisites that give rise to this type of precautionary personal measure (medida cautelar de orden personal), in accordance with Articles 238 and 239, both of the Code of Criminal Procedure (Código Procesal Penal). Along these lines, the potential liability provided for in Article 108 mentioned above is only viable when the acquittal ordered in a review proceeding has been based on criteria of full proof of innocence. Otherwise, that is, when it has stemmed from the presumption of innocence, national jurisprudence has understood that preventive detention (prisión preventiva) constitutes an important tool for the dynamics of preliminary investigations and the proper conduct of the criminal process. In that vein, Resolution No. 115 of 14 hours 30 minutes on November 11, 1998, of the First Chamber, cited in Ruling No. 1011-2006 of that high Court, when analyzing the applicability of the liability referred to in Article 108 of the Criminal Code, interpreted: </span><span style=\\\"font-family:Arial; font-style:italic\\\">“VIII.- The aforementioned article of the Criminal Code, in light of what was stated in the immediately preceding recital (considerando), would only be applicable in the event of preventive detention (detención preventiva) and, later, the full innocence of the accused is proven. Only under this circumstance, could the deprivation of liberty, arising from a necessary judicial investigation, be deemed unjustified and susceptible to compensation. Otherwise, the action of justice, in areas as harsh and sinister for society as drug trafficking is today, would be ostensibly hindered. (...)</span><span style=\\\"font-family:Arial; font-style:italic\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-style:italic\\\"> When the acquittal is obtained, as occurs in this case, by virtue of the application of the principle \\\"in dubio pro reo,\\\" obviously the innocence has not been indubitably demonstrated. (...) Therefore, as stated in recital (considerando) IV, in such cases there are sufficient grounds to conduct the investigation of the illicit act and, consequently, to take all the necessary measures provided for in our legal system for those purposes. Among them, preventive detention (prisión preventiva). Within those scenarios, such measures are not illegitimate, as the plaintiff contends. Hence, they cannot generate liability on the part of the State or its agents.” </span><span style=\\\"font-family:Arial\\\">Therefore, given the lack of proof of full demonstration of innocence and the non-concurrence of a judicial error in this case, compensation is improper, also on this ground.</span><span style=\\\"font-family:Arial\\\">&#xa0;</span><span style=\\\"font-family:Arial\\\"> </span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; text-indent:17pt; line-height:150%\\\"><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">XIII.- </span><span style=\\\"font-family:Arial\\\">Finally, it should be noted that the lawsuit criticizes the Trial Court's conduct regarding the alleged disregard of testimonial evidence offered at the preliminary hearing and which later, in the review proceeding, allowed the acquittal to be ordered. The statements the plaintiff makes in this regard do not prove the concurrence of a judicial error that would lead to an estimation of his claims. They constitute a set of reproaches whose analysis, in line with what has been stated, falls outside the scope of competence of this Tribunal and is only proper and arguable within the dynamics of the criminal process itself. The determining factor in this case is that the decision at the review stage was based on a comprehensive assessment of new evidence which, regardless of what the plaintiff asserts, was not formally offered at the trial stage or in the corresponding appeal for cassation (recurso de casación). This introduced a novel aspect, therefore, inaccessible to the sentencing court. From this perspective, the prior criterion is not deemed arbitrary. In fact, the ruling 2006-00565 of the Third Chamber makes a new assessment of the body of evidence to reach a different decision, which does not imply, as the plaintiff erroneously claims, a judicial error to support his petition. To understand this, it suffices that Article 408(e) of the Code of Criminal Procedure (Código Procesal Penal) establishes new evidence as a ground for review. Even the Third Chamber itself expressly refers to that new evidence. Thus, the acquittal was not due to defects in the judgment, but due to a change in procedural circumstances to support the ruling. Consequently, the liquidated damages lack a solid basis to be awarded; on the contrary, the criterion of imputation upon which the plaintiff bases them is nonexistent, and therefore, no causal link (nexo de causalidad) can be glimpsed to allow those harmful consequences claimed to be attributed to the State. Such an omission of causation (even apparent) dispenses with the examination of the existence or non-existence of the alleged damages, as they are not attributable to the defendant party; therefore, without further ado, the lawsuit must be dismissed in all its aspects. </span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; text-indent:17pt; line-height:150%\\\"><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">XIV.- Corollary. Regarding the defenses raised.</span><span style=\\\"font-family:Arial\\\">&#xa0;</span><span style=\\\"font-family:Arial\\\"> The State's representation formulates</span><span style=\\\"font-family:Arial\\\">&#xa0;</span><span style=\\\"font-family:Arial\\\"> the exceptions of prescription and expiry (caducidad), as well as the defense of lack of right (falta de derecho). Regarding the former, for the reasons stated in recital (considerando) III, they must be rejected. Regarding the defense of lack of right (falta de derecho), in accordance with what has been stated, it must be accepted. As has been stated, in this case, it has not been possible to prove the existence of a judicial error that would allow the foundations to be laid for granting the requested compensation. The acquittal decreed at the review phase was based on a novel aspect that permits the inference of a judicial error from the prior sentences. Thus, the proper course is to order the dismissal of the lawsuit in all its aspects. </span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; line-height:150%\\\"><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">XV.-</span><span style=\\\"font-family:Arial; color:#010101\\\"> </span><span style=\\\"font-family:Arial; font-weight:bold\\\">Costs (Costas). </span><span style=\\\"font-family:Arial; color:#010101\\\">In accordance with Article 193 of the Code of Contentious Administrative Procedure (Código Procesal Contencioso Administrativo), procedural and personal costs (costas procesales y personales) constitute a burden imposed on the losing party by the fact of being so. The judge's pronouncement on this matter becomes an ex officio ruling, with the exception of the specific grounds provided for in Article 197 of that same Code. The exemption from this condemnation is only viable when, in the Court's judgment, there was sufficient reason to litigate or when the judgment is issued based on evidence whose existence was unknown to the opposing party. In this case, this collegiate body finds no reason to apply the exceptions established by the applicable regulations and break the principle of condemning the losing party. Therefore, both costs (costas) are imposed on the losing defendant party.</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; text-indent:17pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; text-align:center\\\"><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold\\\">POR TANTO</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; line-height:150%\\\"><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; line-height:150%\\\"><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; color:#010101\\\">The exceptions of expiry (caducidad) and prescription presented by the State's representation are rejected. The defense of lack of right (falta de derecho) is accepted. The lawsuit filed by Nombre141371</span><span style=\\\"font-family:Arial; color:#010101; -aw-import:spaces\\\">&#xa0;&#xa0; </span><span style=\\\"font-family:Arial; color:#010101\\\">against the State is declared without merit in all its aspects. Both costs (costas) are borne by the losing plaintiff party. </span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; text-align:center; line-height:150%\\\"><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">Nombre65846</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101; -aw-import:spaces\\\">&#xa0;&#xa0; </span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\"> </span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; text-align:center; line-height:150%\\\"><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">Nombre10427</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101; -aw-import:spaces\\\">&#xa0; </span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\">&#xa0;</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101\\\"> Nombre136069</span><span style=\\\"font-family:Arial; font-weight:bold; color:#010101; -aw-import:spaces\\\">&#xa0; </span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; text-indent:34pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:5.05pt; margin-bottom:5.05pt; text-indent:34pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; font-size:8pt\\\"><span style=\\\"font-family:Arial; color:#010101\\\">EXPEDIENT: 09-002638-1027-CA</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; font-size:8pt\\\"><span style=\\\"font-family:Arial; color:#010101\\\">MATTER: PURE LAW PROCEEDING</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; font-size:8pt\\\"><span style=\\\"font-family:Arial; color:#010101\\\">PLAINTIFF: Nombre141371</span><span style=\\\"font-family:Arial; color:#010101; -aw-import:spaces\\\">&#xa0; </span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; font-size:8pt\\\"><span style=\\\"font-family:Arial; color:#010101\\\">DEFENDANT: State</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; font-size:8pt\\\"><span style=\\\"font-family:Arial; font-style:italic; color:#010101\\\">IGWTHUP.10</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt; line-height:150%\\\"><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt\\\"><span>&#xa0;</span><span>&#xa0;</span></p><p style=\\\"margin-top:0pt; margin-bottom:0pt\\\"><span style=\\\"font-family:Arial; color:#010101\\\">&#xa0;</span></p></div></body></html>\""
}