My question involves criminal law for the state of: California
I went to Target because i was looking for some unique colour hair dye (blue, purple, etc) and I picked up a box of blue and took it to the bathroom. I intended to dye my hair in there as I brought shampoo, comb and hair dryer with me in a bag. It took about an hour to do, and I accidentally stained the sink. I left the bathroom when i was done and I had ditched the hair dye packaging in the bathroom. As soon as I stepped outside the store I heard a male voice yell "EXCUSE ME!" I turned around and realized it was a Loss Prevention agent. I started sprinting towards my car, but the auto unlock on my fob wouldn't work. I was locked out of my car. The LP then had time to catch up with me and after a physical struggle in the parking lot I was detained in the LP office. The man showed me the packaging and asked if I knew anything about it. I told him I had never dyed my hair before in my life. He asked me if he had stupid written on his forehead and I said no. He called the cops and I was arrested for shoplifting.
What can I do to convince the judge that I have never dyed my hair, therefore the stop and accusation by LP made no sense?
I have a shirt that says "f*** the police" on it, would this be acceptable to wear to court?

