Fred's accused of being the mastermind behind a recent mystery and goes to court to try to prove his innocence.