A section of New York state law that prohibits farm workers from organizing and collectively bargaining with their employers violates a section of the state constitution, an appellate court in Albany ruled Thursday.

A panel of judges said in the decision that farm workers cannot be excluded from a decades-old amendment of the state constitution that grants employees certain workers rights, like forming or joining a union to handle labor disputes.