A California appellate court has held that “on call” workers should be compensated in instances when they aren’t ultimately forced to come in to work a shift.

The decision issued Monday by the Second District Court of Appeal in Los Angeles marks the first time a court has weighed in how the state’s labor-friendly employee wage orders apply to the practice where workers are assigned on-call shifts but are not told until they call in just hours before they’re set to begin whether they should actually report to work or not.