Officer should issue you a police report, and it will be the strongest evidence in court. If the report is in favor of you, then just do whatever the officer tells you. There is nothing to be afraid of.