Dublin police say the rapper was parked at Hacienda Crossings Shopping Center next to Highway 580 Thursday night when an officer approached him.
In a statement released late Saturday night, police said, "He had expired registration on a vehicle that was not registered to him. He refused to give the officer any information on the owner. MC Hammer became very argumentative and continued to refuse to answer any questions about the vehicle."
MC Hammer, legally known as Stanley Kirk Burrell, was charged with suspicion of obstructing an officer and resisting arrest.
The 50-year-old lashed out through Twitter on Saturday, painting a very different, racially motivated picture of what happened. He tweeted, "I rolled down the window and he said, 'are you on parole or probation?'"
Burrell also said as he handed over his ID, the officer reached into the car and tried to pull him out.
"No charges should be filed," said civil rights attorney John Burris. "I think the resisting arrest interfering with police is a bogus charge
Attorney Burris specializes in police misconduct cases. He's represented several high profile clients, including Tupac Shakur, who won a brutality suit against Oakland police in 1991.
"When you ask a person immediately whether they are on probation or parole you are essentially saying that all black people I stop must be on probation or parole," Burris said.
No one answered the door at Burrell's Tracy home. But the tweets kept coming. In one he wrote, "Only thing more dangerous than a scared man with a gun is a scared man with an agenda, a gun and a badge."
Dublin police would not comment by phone or on camera. In the meantime, Burrell will be in court next month.