What did you tell the cops when they shown up after
the accident? If you had kept your guesses to the sequence of events to yourself, I don't think you would get a ticket
because nobody was injured and only your car was total.
I think you definitely need a lawyer going to the court with you.