If you show up for court you should get your money back regardless if your convicted or not.