Employees have a reasonable expectation of privacy in the workplace, the California Supreme Court held Monday, but that right has limits. And it doesn’t prevent employers from conducting some hidden surveillance in an employee’s office for “legitimate business concerns.”

“An employer may have sound reasons for monitoring the workplace,” Justice Marvin Baxter wrote for a unanimous court, “and an intrusion upon the employee’s reasonable privacy expectations may not be egregious or actionable under the particular circumstances.”