1During preliminary investigations, evidence shall be admitted by the proceeding authority, in compliance with the rules provided for by this Code.
2In trial, evidence shall be admitted upon request of a party. The court shall promptly decide, excluding any evidence that is not allowed by law or manifestly irrelevant.
3Evidence gathered in violation of the prohibitions set out by law shall not be used. The exclusion of evidence may be declared also ex officio at any stage and instance of the proceedings.