The last scene was in a courtroom, and during the break, the woman who is prosecuted is attacked by someone, but doesn’t know who it is. She manages to stab the attacker with a knife, but he the attacker manages to escape. Then the trial continues, the judge comes out, and he has blood stain on his shirt slowly spreading, exactly where she stabbed him. The end.
“Suspect” (1987)?
https://www.imdb.com/title/tt0094082/?ref_=fn_al_tt_2