This one-liner probably won't make it into Vince Sicari's standup act.

New Jersey's Supreme Court on Thursday ordered Sicari, a part-time municipal judge, to step down from the bench if he wants to continue moonlighting as a comedian and actor.

"The judge's acting and comedy career is incompatible with the Code of Judicial Conduct and therefore he may not serve as a municipal court judge while continuing with that career," the court wrote in a unanimous 7-0 opinion.

Sicari said in an email that he would respond to the decision later Thursday.

The 44-year-old, whose stage name is Vince August, has carved out a career as a stand-up comic and actor, appearing on network television, in New York City comedy clubs and as a warm-up for Comedy Central audiences. He's also a part-time municipal judge in South Hackensack, where he handles things like traffic ticket cases and disorderly persons offences.

Several justices had questioned whether the public had the ability to separate Sicari's position as a judge from roles he has played on the ABC hidden camera show What Would You Do? in which he has portrayed homophobic and racist characters. That dilemma played a central role in Thursday's ruling, as the justices noted that someone tuning into the show might not know that actors were used in the sketches. They applied the same standard for Sicari's stand-up performances.

Public may doubt judge's objectivity, court rules

"In the course of his routines, Sicari has demeaned certain people based on national origin and religion and has revealed his political leanings," according to the court's opinion. "The court cannot ignore the distinct possibility that a person who has heard a routine founded on humour disparaging certain ethnic groups and religions will not be able to readily accept that the judge before whom he or she appears can maintain the objectivity and impartiality that must govern all municipal court proceedings."

A state ethics board recommended in 2008 that Sicari quit his comedy work, expressing concern over his character depictions on the ABC reality show and the potential content of his sketches.

Sicari appealed the ruling to the state's highest court, which heard arguments in February.

Sicari's attorney, E. Drew Britcher, insisted at the time that his client never cracked wise on the bench and never let on that he moonlighted as a comic. In his comedy routine, Britcher added, Sicari refrained from jokes about the legal profession and never divulged his judicial job.

An attorney for the state attorney general's office, Kim D. Ringler, argued against Sicari being allowed to hold both jobs, saying municipal judges represent the most frequent contact the public has with the justice system. Some of the characters Sicari has depicted could confuse the public and reflect badly on the judiciary, she argued.

Sicari, who is a member of the Screen Actors Guild and other professional performers' unions, has said his entertainment work entitles him to health benefits and earns him more than his $13,000-a-year part-time judge salary.

He said during the Supreme Court arguments in February that he was equally passionate about both his jobs.