The rapper known as 2 Chainz got another piece of jewelry for his collection Monday when an L.A. judge handed him a sobriety bracelet after he pleaded guilty to a charge related to carrying codeine at LAX.

The 36-year-old performer, born Tauheed Epps, entered the plea to misdemeanor drug possession and agreed to be placed on probation for three years and to complete a drug-rehab program. He was originally charged with felony drug possession.

Epps was removed from a flight about to depart June 11 and arrested by LAX police after they found a bottle containing a chemical mixture known as "sizzurp" -- which has codeine in it -- in his checked baggage.

"You made this for me?" the rapper asked the judge, who is known for going an extra step to help keep defendants on the straight and narrow and has dealt with a number of celebrity cases -- including Lindsay Lohan's.

The 36-year-old MC, born Tauheed Epps, was removed from an outbound flight...

Rapper 2 Chainz has been charged with felony possession of a controlled substance after police at Los Angeles International Airport said last summer he was carrying codeine, a key ingredient in chemical mixture "sizzurp."

The 36-year-old MC, born Tauheed Epps, was removed from an outbound flight...

(Richard Winton)

Schwartz replied that he did.

The judge said that although he does not listen to 2 Chainz's music, he knew many young people who did and said the rapper was a role model for many.

"I think it all-important for people in the entertainment industry to give a positive attitude," Schwartz said.

As an entertainer, 2 Chainz needs to act like his mother is always present, the judge said.

"Sizzurp," also known as "purple drank," has been popularized in Southern rap artists' songs.