From what I heard, the ministry was stumbling for answers. They could not account for all the dementors on the day, even though they claimed they always do. Veritaserum and pensieve proved to the Wizengamot that Harry was innocent, with a resounding vote in favor for him. According to Harry, the Minister and his undersecretary were scowling at him as he left.