Courts don’t like it when employees are treated unfairly. On the other hand, judges don’t want to serve as HR courts, either. That’s why they generally defer to management decisions that seem fair and honest. Judges prefer it when employers investigate allegations of employee wrongdoing before they fire someone—but they don’t require that the investigation be perfect.