Cal. Fish & Game Code § 4156
(b) The prohibitions of this section shall not apply to any of the following:
(2) The take of a bobcat based on a good faith belief that the take was necessary to protect a person from immediate bodily harm from the bobcat if both of the following conditions are met: