A state prosecutor asked the New Jersey Supreme Court to reinstate the criminal conviction of a corrections officer who added offensive comments to a co-worker’s wedding photos and posted them as flyers.

A state appeals court ruled last year that while defendant William Burkert’s actions were “unprofessional, puerile and inappropriate,” he did not violate the law, and it overturned his conviction on two counts of harassment.