Alice's trial

Alice's trial is an ordeal that took place in Wonderland. The Queen of Hearts wrongly accused Alice of stealing, put her on trial and sentenced her to beheading however Sora intervened to pardon Alice.

Kingdom Hearts
When Sora and the party arrive at Wonderland, they witness the Queen of Hearts accusing Alice of stealing her heart and putting her on trial because of it. Sora intervenes and tells the Queen that he'll gather evidence to prove Alice's innocence. During his search, the Cheshire Cat appears to give Sora some clues and then later rewarded Sora with Blizzard, once he gathered four pieces of evidence.

The trial can be continued with any amount of evidence and Sora will get Blizzard once he unlocks the world's Keyhole instead.

When Sora returns with the evidence, the Queen adds her own evidence to Sora's so that there are five pieces of evidence in total. Then she tells Sora to pick one box of evidence at random, which Sora finds to prove that the Heartless are the real culprits. This infuriates the Queen so she locks Alice in a cage and calls her Card Soldiers and the Crank Tower on Sora and his party.

There is also the chance that Sora chooses one of the Queen's boxes, which can show that Donald, Goofy or both are the culprits. If this is the case, they are locked up and unable to help Sora fight the Queen and her minions.

After Sora defeats the Queen, Alice is found missing from her cage, a mystery later solved when she is revealed to be a Princess of Heart,

Kingdom Hearts: Chain of Memories
The incident of Alice's trial return in the form of memories of Sora's, during his time in Castle Oblivion. However, this time around, Alice is instead accused of stealing the Queen's memories and put on trial but she is saved when Sora claims he is the thief and fights off the Queen's soldiers.

Kingdom Hearts coded
Within the data version of Wonderland, Data-Sora finds Data-Alice to discover that she has lost all of her memories. By Data-Sora finding and using Inklings, Data-Alice recalls that she was lost so she asked the Cheshire Cat for directions. The cat suggested that she visit the Queen's castle however the card soldiers attempted to take her captive and put her on trial. Fortunately, Alice managed to escape before they caught her.

List of Evidence
In Kingdom Hearts, Sora must first gather evidence to support him in the trial. Collecting all four pieces rewards him with Blizzard early. Otherwise, Blizzard is learnt after unlocking Wonderland's Keyhole.