A New Jersey federal judge has rejected a civil rights claim filed by a former Port Authority worker who claimed religious discrimination because he was required to work on the Jewish Sabbath, reasoning that accommodating the schedule would violate his union’s collective bargaining agreement.

According to the Nov. 13 decision in Miller v. Port Authority of New York & New Jersey, the civil rights case was filed by Gary Miller, who worked for less than three months as a Port Authority of New York and New Jersey employee at Newark Liberty Airport in 2015.