The U.S. Supreme Court this week ruled on one of the most significant employment-related cases of the term. In Young v. United Parcel Service, the justices looked at a former UPS driver’s claim that her employer discriminated against her when she became pregnant and was medically no longer able to lift heavy packages.

The court found something of a middle ground in its ruling, and did not outright reject UPS’s policy (which has since been revised) on working while pregnant. However, the ruling does provide some guidance for employers dealing with potential liability from pregnancy discrimination claims, as well as those trying to prevent claims in the first place.