A good faith reliance on a court order, a legislative authorization or a statutory authorization is a complete defense against any civil or criminal action brought under ORS 133.545, 133.575, 133.595, 133.617, 133.619, 133.721, 133.724, 133.726, 133.729, 133.731, 133.735, 133.737, 133.739, 165.540 and 165.657 to 165.673.
ORS 165.671