Katt Williams has ran afoul of the law again -- this time after making a disturbance outside of a West Hollywood Subway restaurant last night.

According to TMZ, Katt was briefly detained by police after they responded to a call for a "disturbance." Cops handcuffed Williams and placed him the back of a squad car when they found marijuana and a empty gun magazine on him, but later let him go after they determined that he had a medical card for the weed.

Williams says he was simply hanging out at the Subway while he waited for his friend and manager Suge Knight to get a manicure nearby, and that the whole incident was racially motivated.