Comments that might not create a hostile work environment may nonetheless violate the Law Against Discrimination in a public accommodation context, an appeals court said Thursday in a published decision reopening the case of a transgender man who says he was subjected to threats and demeaning comments by officers of the Jersey City Police Department.

The man’s lawsuit was revived by a panel of the Superior Court of New Jersey Appellate Division, which held a trial judge applied the wrong discrimination standard in the case.