You did the right thing by protecting a member of the society who could be your sister, wife, daughter and I am sure the judge will take that into consideration. Yes it is stressful but with a good lawyer hopefully you will get away with it.
You did not do anything wrong and you deserve...