Apparently you can touch this -- at least if you're a cop.

MC Hammer (real name: Stanley Kirk Burrell) was arrested on Thursday, Feb. 21 in Dublin, Calif., on suspicion of obstructing an officer in the performance of their duties and resisting an officer. But he says it was a case of racial profiling.

According to the Oakland Tribune, Hammer was pinched at the Hacienda Crossings shopping center, booked, and later released.

For its part, the Dublin police aren't saying what happened other than to mention neither drugs nor alcohol seemed to be involved.

While cops may be tight-lipped about the incident, the 50-year-old former rap star isn't -- on Saturday, he used his Twitter account to tell his side of the story.

https://twitter.com/MCHammer/status/305404585902743552

https://twitter.com/MCHammer/status/305406046673965056

https://twitter.com/MCHammer/status/305407712345341952

https://twitter.com/MCHammer/status/305409901386145792

https://twitter.com/MCHammer/status/305410530967969792

https://twitter.com/MCHammer/status/305429891489333248

For what it's worth, Hammer's never had any sort of public run-ins with law enforcement before (and anyone who knows anything about the Oakland area knows racial tensions there run high). In the years since he achieved fame with songs like 'Too Legit to Quit' and 'U Can't Touch This,' he's become an ordained minister who's spent a lot of time trying to help kids and adults stay out of trouble.

Ironically, the day after his arrest, Hammer appeared as a mentor at San Quentin Prison as part of its "Last Mile" program -- which helps prison inmates prepare for life on the outside by teaching them how to create computer and smartphone apps.