If you fight the guards you will always be found guilty.
You only stand a chance in court if you come quietly and explain you're not a grave robber.