A divided state Supreme Court on Wednesday reprimanded two lawyers and admonished a third for entering into a post-settlement agreement in a landlord-tenant case, in which one of them voluntarily agreed to not represent clients against a particular defendant.

The court, in a 4-1 ruling reprimanded Charles Gormally, a partner, and admonished Sean Smith, an associate, at Roseland’s Brach Eichler. The court also reprimanded Jersey City solo Cathy Cardillo, the attorney who agreed to the post-settlement restriction.