If your friend said she had the permission, get it in some form, such a writing or recording, or ask your friend to testify for you. Sounds like you are innocent to believe that you had permission to be on the land. Get an attorney to help you at least to get the fine reduced.