ORS 161.195

ORS 161.195 Justifiable offenses

(1) Unless inconsistent with other provisions of chapter 743, Oregon Laws 1971, defining justifiable use of physical force, or with some other provision of law, conduct which would otherwise constitute an offense is justifiable and not criminal when it is required or authorized by law or by a judicial decree or is performed by a public servant in the reasonable exercise of official powers, duties or functions.
(2) As used in subsection (1) of this section, “laws and judicial decrees” include but are not limited to:
(a) Laws defining duties and functions of public servants;
(b) Laws defining duties of private citizens to assist public servants in the performance of certain of their functions;
(c) Laws governing the execution of legal process;
(d) Laws governing the military services and conduct of war; and
(e) Judgments and orders of courts.