Suppose a person is put on trial for a crime, but he has video evidence showing his innocence. Out of malice or spite of a personal nature towards his accuser, he allows the trial to proceed, and then at the last possible moment "discovers" and presents the evidence, leading to his acquittal and the accuser's extreme shock, dismay, and embarrassment.
Are there any sanctions that could be applied to the defendant if the court were convinced he had withheld that evidence in order to prolong the trial?