The California Supreme Court on Monday came up with a more precise definition of what it takes to get punitive damages from a company sued over the conduct of its employees.

Almost 20 years ago, the Legislature said the actions of a company’s “managing agents” could expose a firm to punitive damages. But it wasn’t clear if that meant employees with the mere power to hire and fire — or top corporate officials who set company-wide policy.