I would definately contact corporate (if it's a chain) and complain and explain what happened. That is UNACCEPTABLE and an incredibly offensive way to treat a customer.

I hope you can get some justice out of your situation. You should never have to be treated like that.