I've been at my LGS when customers have brought in intended "trade-in" weapons that turned out to be loaded.
Should the employees treat all weapons as loaded? Yes.
Would such a case be a potentially mitigating factor? Yes, at least in my opinion.
What the employee was doing at the time should definitely be a factor for criminal charges, but may not be as much of a factor for civil suits, again in my opinion.