Criminal Trespass 3rd Degree is a violation (not a misdemeanor) punishable by up to 30 days in jail and a small fine. If the officer mentioned it would be a misdemeanor (possible if the property was fenced it enclosed) the charge can be 2nd Degree Trespass which is a Class C misdemeanor punishable by up to 90 days and a $500 fine. You need to hire a lawyer to get this dismissed or charge reduced. Lots of good lawyers in Mobile.
As always, I recommend that you contact a local, experienced criminal defense lawyer to discuss your particular situation.
It'll cost you even more if you don't get an attorney to make sure the damage is minimized. I would get in touch with someone in your area that is familiar with the court you'll be dealing with.
Disclaimer: No attorney client privilege is established by receiving an answer to your question on Avvo. This answer is provided for informational purposes only. If you have further questions, please do not hesitate to visit my Avvo profile or website -- www.AfterTheTrial.com -- to set up an appointment to talk more about your issue. As required by Rule 7.2(e), Alabama Rules of Professional Conduct, no representation is made that the quality of the legal services to be performed is greater than the quality of legal services performed by other lawyers.