As with any crime, ignorance of the law is no excuse. That is about all you need to know before walking into court.