A New Jersey appeals court has ruled that a parochial school lacked a permissible basis when it fired a teacher for being pregnant and unmarried.

The case is a cautionary tale for employers that impose a morals code on their workers, but fail to enforce that policy evenly on men and women.