[613]*613LINDE, J.
Plaintiffs, who are male inmates of the Oregon State Penitentiary, sued to enjoin Superintendent Cupp and other prison officials from assigning female guards to duties which involve frisking male prisoners or observation of prisoners in showers or toilets, or for such other relief as the court deemed proper. After allowing a number of female corrections officers to intervene as parties defendant, the court enjoined defendants Cupp and Watson from "assigning female correctional officers to any position in which the job description or actual duties include frisks or pat-downs of male prisoners, except in emergency situations.” On appeal, defendants contended respectively that no constitutional interest of plaintiffs was violated and that the order contravened the equal employment rights of female corrections officers. The Court of Appeals affirmed the order, 44 Or App 755 (1980), and we allowed review. With some textual modification, and subject to such further motion as defendants may make in the circuit court, we affirm the order.
For clarity, we refer to the parties as the prisoners, OSP, and the officers rather than by their respective positions as parties in this suit.
I. The Constitutional Premises.
The prisoners’ challenge to the legality of subjecting them to personally offensive touching or observation by guards of the opposite sex invoked a number of provisions of the Oregon as well as of the United States Constitution.1 [614]*614The proper sequence is to analyze the state’s law, including its constitutional law, before reaching a federal constitutional claim. This is required, not for the sake either of parochialism or of style, but because the state does not deny any right claimed under the federal Constitution when the claim before the court in fact is fully met by state law. See, e.g., State ex rel Oregonian Pub. Co. v. Deiz, 289 Or 277, 613 P2d 23 (1980); State v. Spada, 286 Or 305, 594 P2d 815 (1979) , and cf. State v. Tourtillott, 289 Or 835, 618 P2d 423 (1980).2 The Court of Appeals decided the case by reference to the prisoners’ "constitutional right of privacy,” 44 Or App at 757, explaining in a footnote that while "[t]he source of this right is not entirely clear,” the court meant the phrase in its federal usage derived from Griswold v. Connecticut, 381 US 479, 85 S Ct 1678, 14 L Ed 2d 510 (1965). This premise drew a dissent from two members of the court.3
[615]*615That the court found "privacy” a difficult premise for decision is not surprising. When a single term is stretched to reach from a civil claim against undesired disclosure or publicity, see Prosser, Law of Torts 802 (4th ed 1971); White, Tort Law in America 173-176 (1980), by way of a constitutional barrier against government intrusion into activities normally conducted in private, see Griswold v. Connecticut, supra, (marital use of contraceptives), and a privilege to engage at home in conduct forbidden elsewhere, see Ravin v. State, 537 P2d 494 (Alas 1975) (use of marijuana at home), cf. Stanley v. Georgia, 394 US 557, 89 S Ct 1243, 22 L Ed 2d 542 (1969) (possession of pornography at home), to claims of personal autonomy in choices of conduct, see Roe v. Wade, 410 US 113, 93 S Ct 705, 35 L Ed 2d 147 (1973) (abortion) and choices of domestic associations, see City of Santa Barbara v. Adamson, 27 Cal 3d 123, 610 P2d 436, 164 Cal Rptr 539 (1980) (residential "family” of unrelated individuals), the law is bound to pay a price in clarity and cogency. One may pause at the delegation to courts implicit in adopting such a protean and emotive term as a test of the validity of laws.4 "A concept in danger of embracing everything is a concept in danger of conveying nothing.” Tribe, American Constitutional Law 888-889 (1978). Thus the OSP officials argue that privacy is an [616]*616incongruous constitutional claim for prisoners in institutions whose very functions imply surveillance, while the prisoners invoke the concept of privacy in the sense in which bodily parts and functions are considered "private” in our and other cultures.
Though "privacy” in this sense may fit under that federal rubric even in prisons, there is no need to struggle with its difficulties here. They arise because contemporary claims of prisoners’ rights, like many others, routinely have been taken to federal courts, so that the judicial opinions and the secondary commentary that counsel bring before state courts, as in this case, tend to repeat solely federal premises.5 But the United States Constitution’s concern with penal principles as such does not go beyond bills of attainder and "cruel and unusual punishments.” US Const art I, §§ 9, 10, amend 8. Its restraints on state prison practices can be derived only from generally applicable constitutional guarantees, including due process and equal protection. US Const amend 14. State constitutions, by contrast, often contain clauses expressly directed toward guaranteeing humane treatment of those prosecuted for crime.
The Oregon Constitution long has included in its Bill of Rights, besides the prohibition of cruel and unusual punishments, no less than five such provisions that have no federal parallel. It undertakes to guarantee that punishment shall be designed for reformation and not "vindictive justice”6 and shall not reach beyond the guilty individual,7 [617]*617to forbid excessive fines and disproportionately heavy penalties,8 and, most relevant here, to confine "rigorous” treatment of prisoners within constitutional bounds of necessity. Or Const art I, § 13.9
Provisions like these have antecedents as early as New Hampshire’s 1783 constitution,10 coming to Oregon by way of Ohio and Indiana.11 They reflect a widespread interest in penal reform in the states during the post-Revolutionary decades.12 The clauses are not as universal as more familiar parts of the bills of rights, and ideas of humanitarian "reform” have changed with time and among the states. The Pennsylvania Constitution, among the first, provided that the penal laws were to be reformed and punishments made less "sanguinary” (i.e. bloody) by substituting imprisonment at hard labor, open for observation by the public. Penn. Frame of Government §§ 38, 39 (1776).13 Practice often did not follow aspirations. Even in theory, a "Golden Age of Penology” could not be discerned [618]*618before the 1870’s.14 In 1870 the Tennessee Constitution provided for "the erection of safe and comfortable prisons, the inspection of prisons, and the humane treatment of prisoners.” Term Const art I, § 32. But while constitutional texts differ, the present point is that many states thought a commitment to humanizing penal laws and the treatment of offenders to rank with other principles of constitutional magnitude independently of any concern of the Congress or of Madison’s Bill of Rights. The same commitment took the form of two interstate compacts adopted by Oregon and enacted as statutes, which provide that inmates of correctional institutions "shall be treated in a reasonable and humane manner.” ORS 421.245, Art. IV(5); ORS 421.284, Art. IV(e). Oregon’s article I, section 13 is in this tradition.15
It may well be that the interest asserted by the prisoners in this case can be brought within one of the kinds of "privacy” said to be protected by unexpressed [619]*619penumbras of the United States Constitution. See Gunther v. Iowa State Men’s Reform., 612 F2d 1079 (8th Cir 1980) cert. den. 446 US 966, 100 S Ct 2942, 64 L Ed 2d 825 (1980). But in three respects the guarantee not to be "treated with unnecessary rigor” in Oregon’s article I, section 13, is a more cogent premise than such a federal "right of privacy.”
First, it has an unquestioned source in a provision expressly included in the political act of adopting the constitution.
Second, that provision is addressed specifically to the treatment of persons "arrested, or confined in jail.” Unlike rights of privacy, there can be no argument that rights under this guarantee are forfeited by conviction of crime or under lawful police custody, as those are the circumstances to which its protection is directed.
Third, "privacy” poses the paradox that its elasticity in the face of important public policies contradicts its theoretical premise as a right so fundamental as to be implied in the national Constitution; by contrast, article I, section 13, itself makes necessity the test of the practices it controls.
For these reasons, although in this case the considerations under "privacy” or under article I, section 13, are much the same, we proceed under the section of our own constitution directly addressed to prison practices.
II. Opposite-sex Search as Indignity.
The guarantee against "unnecessary rigor” is not directed specifically at methods or conditions of "punishment,” which are the focus of article I, sections 15 and 16, as section 13 extends to anyone who is arrested or jailed; nor is it a standard confined only to such historically "rigorous” practices as shackles, the ball and chain, or to physically brutal treatment or conditions, though these are the most obvious examples. Thus the Indiana Supreme Court wrote, in sustaining a conviction of police officers for assault and battery on a prisoner:
"The law protects persons charged with crime from ill or unjust treatment at all times. Only reasonable and necessary force may be used in making an arrest, . . . ho [620]*620person arrested, or confined in jail, shall be treated with unnecessary rigor,’ section 15, art. 1, Const. . . . 'While the law protects the police officer in the proper discharge of his duties, it must at the same time just as effectively protect the individual from the abuse of the police.’ U. S. v. Pabalan (1917) 37 Philippine 352, 354.”
Bonahoon v. State, 203 Ind 51, 178 NE 570, 571, 79 ALR 453, 456 (1931).16 "Unnecessary rigor” is not to be equated only with beatings or other forms of brutality. Thus Georgia’s phrasing of the constitutional clause, supra note 15; is simply that prisoners shall not "be abused.” Since it is "unnecessary” rigor that is proscribed, the first question under this clause is whether a particular prison or police practice would be recognized as an abuse to the extent that it cannot be justified by necessity.
There is no attempt in this case to broaden this principle so as to disregard the numerous and pervasive conditions intrinsic to the life of prisoners to which persons who have not forfeited their liberty would not willingly submit. Those sentenced to prison forfeit many rights that accompany freedom. Here there is no claim that the challenged "shakedown” or "patdown” searches in themselves were improper or could not properly be performed by officers of the same sex as the prisoners. Only the forced exposure to intimate touching by guards of the opposite sex, in the institutional context of the prison, is here claimed to invade the constitutionally protected sphere. In brief, the prisoners’ objections are to the imposition of a needless indignity, to an invasion of the prisoners’ residuum of personal dignity that is an imposition insofar as it goes beyond recognized necessity.
It is widely recognized, first, that even convicted prisoners retain claims to personal dignity, and also that under the conditions of arrest and imprisonment the relation between the sexes poses particularly sensitive issues. These assumptions underlie most contemporary statements of the relevant standards for penal institutions. Thus the Federal Standards for Corrections published by the Department of Justice postulate that "[e]ach facility develops and [621]*621implements policies and procedures governing searches and seizures to ensure that undue and unnecessary force, embarrassment or indignity to the individual is avoided.” Specifically, when body searches are required, "staff personnel avoid unnecessary force and strive to preserve the dignity and integrity of the inmate.”17 Issues of dignity or embarrassment and indignity arising from sexual differences traditionally have been stated with a view of the rights of female prisoners. Standards for jails published by the Department’s Bureau of Prisons stress, in connection with searches of newly admitted prisoners, that "[njaturally, admission for women should be completely separate from that for men and should be conducted by female staff members.” They continue with the advice that "[t]he following conditions must be met if difficulties are to be avoided in jails housing both male and female prisoners:
"1. Women prisoners must be completely separated from male prisoners, with no possibility of communication by sight or sound.
"2. All supervision of female prisoners must be by female employees. In the larger jail a full-time matron should provide constant supervision. Smaller jails may have a part-time matron who retains the key to the women’s section and is on call as needed.
"3. Male employees must be forbidden to enter the women’s section unless thay are accompanied by the matron.”18
These federal standards reflect principles also found in nonofficial sources, such as the American Bar Association’s Standards of Criminal Justice19 and the [622]*622American Correctional Association’s Manual of Correctional Standards.20 Indeed, the same principles have been a worldwide concern recognized by the United Nations and other multinational bodies.21 The various formulations in these different sources in themselves are not constitutional law. We cite them here as contemporary expressions of the same concern with minimizing needlessly harsh, degrading, or dehumanizing treatment of prisoners that is expressed in article I, section 13. Thus the questions to be considered are whether a practice of body searches including sexually intimate areas by officers of the opposite sex, even though the prisoner remains clothed, constitutes a cognizable indignity and if so, whether it is justified by necessity.
[623]*623It must be recognized that what is or is not an indignity is largely a matter of social and individual psychology. Like "punishment,” see Brown v. Multnomah County Dist. Ct., 280 Or 95, 105-108, 570 P2d 52 (1977), a practice may appear to be so from the purpose of its imposition, or from the viewpoint of the prisoner, or in the perception of the general public. Moreover, such views may differ widely among individuals and change over time with changing social expectations about the relations between the sexes.
Here there is no claim that shakedowns by female guards were purposely designed to humiliate the prisoners. There is evidence, as one would expect, that different prisoners did not express the same reactions to being searched by the female guards as plaintiffs did. A psychologist employed at the prison estimated that perhaps a third of the prisoners considered the contacts involved in pat-downs by female officers offensive. As to the view of such [624]*624contacts common in society at large, we think it is within the range of judicial knowledge without the need for evidence.
The special significance accorded to intimate as distinct from ordinary touching is reflected in our criminal law, which singles out the unconsented but otherwise uninjurious "touching of the sexual or other intimate parts” for prosecution as a crime when it is sexually motivated. ORS 163.305(6), 163.415. The Court of Appeals referred to "the assumption that the final bastion of privacy is to be found in the area of human procreation and excretion,” and that "[if] a person is entitled to any shred of privacy, then it is to privacy as to these matters.” 44 Or App at 761. We agree that this still represents prevailing social assumptions. From this, the court further reasoned that "if a prisoner is entitled — absent an emergency — to be free of visual inspection by prison personnel while in the nude” (which prison officials conceded), "the prisoner is equally entitled to be free from the tactile equivalent of the nude inspection, viz., manual examination of the anal-genital area through clothing.” Id. Again, there should be no doubt that this equation would be recognized in society at large. If the same equation is denied in contacts between prisoner and guard, it can only be because the prisoner is expected to abandon his "outside” sense of personal dignity in matters of bodily privacy, which begs the question. Otherwise, such a manual search of one’s private parts will be inoffensive only when it is granted to be a matter of necessity.
As mentioned above, these concerns traditionally arise in providing for the proper treatment of female prisoners. That prevailing social standards entitle women to be searched only by female officers is accepted as obvious without evidence of individual attitudes.22 The superintendent of the Oregon Women’s Correctional Center testified that male guards do not frisk female prisoners.
[625]*625It may be too simple to assume that the reverse situation with respect to male prisoners is equally obvious. For ancient and continuing reasons, perhaps more women will fear or resent intrusive observation and touching by male officers than vice versa. The context is more important than formal equivalence. In the setting of medical and hospital care, women have long accepted the ministrations of male physicians and men have accepted those of female nurses and, more recently, female physicians; but there the health of the patient’s body itself is the object and the purpose of the contact is to help. The hospital is not an adversary setting of mistrustful authority on one side and compelled subjugation on the other.
Formal equivalence aside, however, we know no reason to conclude that society denies to men in the prison setting a sense of the proprieties that it unquestioningly grants women in the same setting. Once this is granted, the question becomes whether body searches of male prisoners by female officers is justified by necessity.
HI. The Equal Employment Policy.
A necessity to conduct searches of male prisoners by female officers obviously does not arise from anything intrinsic to the searches themselves, nor from a shortage of skilled personnel such as might override a patient’s preference to be handled only by doctors or nurses of the patient’s own sex. If necessity can be claimed here, it arises from the [626]*626state’s policy of providing equal occupational opportunities to women.
During the pendency of these proceedings, this policy was expressly addressed by the Legislative Assembly. House Joint Resolution 29 (Or Laws 1979, p 1262) states:
"(1) The Corrections Division of the Department of Human Resources of the State of Oregon shall:
"(a) Continue to make every effort to hire and promote women in correctional classifications whithin the Corrections Division; and
"(b) Continue to make temporary reasonable accommodations in its policies with respect to affirmative action so as to assure the rights of all involved.”
Prisoners are among the persons "involved” in this accommodation.
The intervening officers in fact do not insist that their employment claims override such constitutional rights as the prisoners may have. They make two other contentions. One is that prisoners have no constitutionally protected interest in avoiding intimate touching by guards of the opposite sex. The other is that the circuit court acted prematurely without first giving corrections officials an opportunity to resolve the problem by administrative rules or requiring the prisoners to show why administrative remedies were inadequate.
Although, as stated above, we hold that prisoners do retain relevant constitutional rights, their relation to the officers’ rights deserve additional comment. It should be understood that, despite the diverging objectives of the two groups, the law does not pit the rights of prisoners against those of corrections officers. The prisoners’ rights, like all constitutional rights, run against the state. Similarly, the officers’ rights to equal employment opportunities are claims upon the state. They are not suing the prisoners or asserting a right to search prisoners for its own sake; their interest is in sharing the economic and non-economic opportunities in an occupation in which government is effectively the only employer.
[627]*627This point is illustrated in two recent decisions involving the claims of female corrections officers to assignments in an Iowa men’s reformatory. In the first case, the Supreme Court of Iowa held under a state civil rights law that respect for the rights of male prisoners was a permissible reason for prison officials not to use women officers in certain assignments and locations. The court reached that conclusion even without an express exception in the law for "bona fide occupational qualifications” by finding the prisoners’ rights to be of constitutional magnitude. Iowa Dept. of Soc. Serv. v. Iowa Merit Emp. Dept., 261 NW2d 161, 165 (Iowa 1977). The complaining female officer asserted that her interest was in eligibility for the higher job classification involved, not in performing the disputed searches and related functions. However, the Iowa court concluded that the state’s law tied the desired classification to these job functions and denied her claim.
The complaining officer thereupon pursued a federal remedy under Title VII of the Civil Rights Act, 42 USC § 2000e et seq. That act, in § 2000e-2(e), does make an exception from its general rules against employment discrimination when the employer can demonstrate that sex is a "bona fide occupational qualification reasonably necessary to the normal operation of that particular business or enterprise.” In Gunther v. Iowa State Men’s Reform., supra, the court of appeals reached the opposite conclusion from the Iowa court’s. The federal court found that the prison officials must show that they "could not reasonably rearrange job responsibilities in a way to minimize the clash between privacy interests of the inmates, and the nondiscrimination principle of Title VII” (612 F2d at 1086), and it also found that in fact female correction officers held the higher classification at the state’s maximum security prison without performing the disputed functions, that Gunther herself performed some of the functions of the higher classification, and that some male officers were assigned to a single function rather than used generally for all jobs within that classification. The court concluded:
"If these job functions and procedures have not undermined the goals and functions of the reformatory at Anamosa, there is little reason to suggest that scheduling to avoid the invasion of inmate privacy rights by female [628]*628officers would give rise to undue hardship on the prison administration. Administrative inconvenience cannot justify discrimination... . Given this evidence, we believe the district court properly concluded Anamosa failed to demonstrate that there are no reasonably available alternative practices with less discriminatory impact that would satisfy the legitimate needs of the institution. . . .”
612 F2d at 1076.23
In the present case, the claim for relief before the trial court and this court is that of prisoners, not of corrections officers. As Gunther shows, the officers’ employment rights are a separate issue. Such rights do not serve OSP as a reason why disregard of otherwise protected prisoner interests under article I, section 13, is "necessary” within the meaning of that section.24 However, the trial court’s order as written does touch on the officers’ employment. This brings us to their second criticism, that the court should have required the prisoners first to seek an administrative remedy.
IV. The Injunction.
Rules for the administration of the correctional institutions both as to the treatment of prisoners and as to the assignment of personnel are initially the responsibility of the Corrections Division and of the superintendent of each institution. ORS 421.016 provides:
"(1) The Superintendent of the Oregon State Penitentiary shall be the chief executive officer of the penitentiary.
[629]*629"(4) The superintendents:
"(a) Shall keep all inmates safely, according to law and the rules of the Corrections Division.
"(c) May each prescribe rules for the government of the inmates, subject to the approval of the administrator.”25
The Administrator of the Corrections Division in fact has promulgated extensive rules governing the conduct of searches and inspections in the division’s facilities which incorporate many of the standards mentioned in sources cited above. See OAR 291-41-005 to OAR 291-41-050 (1980).
Because of this initial agency responsibility, the timing and nature of judicial remedies are an aspect of administrative law.26 When a rule is challenged apart from a specific order, ORS 183.400(1) places jurisdiction for judicial review in the Court of Appeals, and the petitioner need not first request the agency to pass on the validity of its rule.27 When a rule is challenged in the course of reviewing an order, its validity may be determined by the court that otherwise has jurisdiction to review the order.28 Correction Division orders "issued to” persons sentenced to its custody, however, are excluded from the judicial review section of the APA. ORS 183.315(5).
[630]*630But "rules” and "orders” within the Oregon Administrative Procedure Act — terms originally conceived to describe regulatory actions addressed to private parties and later expanded to include actions addressed to agency beneficiaries and employees, see ORS 183.310 — do not exhaust the types of official action against persons in state institutions. A body search is not an "order,” although an order to submit to a search may be. Consequently the Administrative Procedure Act does not confine judicial relief in this case, which was not brought as an attack on a rule or an order, within the act’s procedures for review of such actions, and equitable intervention was not precluded on that score. Nor need all relief be withheld when the impact of the assertedly unlawful agency action is present or immediately impending. The "protection of the law” to which ORS 421.105(2) entitles an inmate facing actual or threatened "injury” is timely protection.29 Specifically in the custodial setting, what we have called a "flexible” remedy by injunction or temporary restraining order is proper to obviate expansive resort to the most urgent of all judicial scrutiny of executive action, the writ of habeas corpus. Penrod/Brown v. Cupp, 283 Or 21, 27, 581 P2d 934 (1978). Accordingly, the circuit court had authority to act without awaiting a possible change of (DSP's deliberately chosen policies.
The price of timely injunctive intervention, however, is to remain within the bounds of its necessity and leave long-range solutions to the normal process of initial administrative rulemaking and judicial review. Circumstances may make injunctive intervention appropriate, as in this case, but if the responsible agency accepts the principle giving rise to that intervention as part of its own rules and policies the need for a continued injunction eventually terminates. Moreover, circumstances may change in years to come, possibly including the views of future prison generations.
[631]*631We note that during the pendency of OSP’s appeal, the Corrections Division in fact has amended the administrative rules cited above to comply with the court’s order. OAR 291-41-005 now provides:
"It is further the policy of the Corrections Division that any searches of the person will be performed by a person of the same sex as that of the person being searched, except when qualified medical personnel are utilized to conduct internal searches, and except in emergency situations as defined in this rule.”
OAR 291-41-020(3) was amended to add provisions that "unnecessary force, embarrassment, or indignity to the inmate will be avoided. Whenever feasible, inspection devices may be used instead of body searches,” and a new paragraph (7):
"Except in an emergency, only same sex (male/female) Corrections Division personnel may, as part of their regular and frequent duties, observe inmates (male/female) in open showers, in toilets, in the nude or carry out frisk and/or skin searches, manual examinations of the anal, genital area(s) through the clothing and/or supervise the taking [of] mine samples for drug surveillance purposes.”
An "emergency situation” is defined as the "occurrence of an unforeseen circumstance requiring immediate implementation of remedial action.” OAR 291-41-010(4).
These rules expressly incorporate and are designed to effectuate the principle against needless "force, embarrassment, or indignity” stated in this opinion. However, the rules appear to have been adopted only in response to the circuit court’s order, and there is no basis to assume that they would be maintained if the defendants were led to believe that they were legally free to resume the challenged practice. Moreover, the appeal from the injunction has been pursued below and argued in this court not only by OSP but also by the female officers, who were intervenors in the circuit court. The rules are not stated in terms of the assignment of female officers, as the circuit court’s injunction is, but the injunction can be modified in this respect along the lines suggested by the Court of Appeals.30 [632]*632When it is modified, the rules can be administered consistent with the legislative policy supporting employment of female corrections officers stated in HJR 29, supra. For these reasons, adoption of the rules does not have the effect of depriving the defendants and intervenors of the right to maintain their appeal.
The defendants may move to vacate the injunction on the ground that by adopting OAR 291-41-005 and OAR 291-41-020, supra, they will adequately regulate the challenged practice, so that continued judicial intervention is unnecessary and inappropriate. If they do so, the circuit court can make that determination in the first instance.
V. Conclusion.
To summarize: The circuit court and the Court of Appeals correctly recognized that prisoners can raise a constitutionally founded objection to a search by corrections officers of the opposite sex that involves touching of sexually intimate body areas even through clothing. The source is Oregon Constitution article I, section 13. Under that section, the objection is overcome when and to the extent that the circumstances of the specific search make its performance by an officer of the opposite sex "necessary,” but the employment of male or female corrections officers as such does not provide a blanket "necessity.”
The injunction in this case was improperly phrased by being directed at the positions to which female corrections officers can be assigned. This impinges on the employment rights of the officers and on the flexibility of OSP to accommodate those rights to the rights of the prisoners, as contemplated in HJR 29, supra. The injunction is therefore modified to enjoin only that guards of the opposite sex may not conduct a "patdown,” "frisk,” or other search of plaintiffs’ anal-genital area except in the event that the immediate circumstances in a particular situation necessitate it.
Subsequent to the injunction, the Corrections Divison has promulgated new rules which appear to meet the objective of the injunction. Neither the effect of these rules nor the question whether they are meant to survive or only to carry out the injunction is before us on the present [633]*633record. If the defendants intend to abide by these regulations and therefore move the circuit court to vacate the injunction, that court can determine whether there is any reason why continuation of this or another judicial order is necessary.
Affirmed as modified.