Petitioner is a permanent teacher who was employed by respondent School District for 19 years, most recently as an elementary school librarian. In 1980, respondent dismissed him from his position for inefficiency, gross unfitness and immorality. The Fair Dismissal Appeals Board found the charge of inefficiency unfounded but upheld the dismissal based on gross unfitness and immorality. We affirmed. Ross v. Springfield School Dist. No. 19, 56 Or App 197, 641 P2d 600 (1982). The Supreme Court, on review, held that FDAB was bound by a decision of the Teacher Standards and Practices Commission in favor of petitioner on the gross unfitness issue and that FDAB had failed to articulate a rational connection between the facts it found and its conclusion that petitioner’s actions were “immoral.” It therefore remanded the case to FDAB. Ross v. Springfield School Dist. No. 19, 294 Or 357, 657 P2d 188 (1982). On remand, FDAB provided its interpretation of “immorality,” as used in the teacher dismissal statutes, and found that plaintiffs conduct was immoral under that standard. It therefore upheld the dismissal. Petitioner then brought the present judicial review proceeding. We affirm.
The facts are in the previous opinions. We discuss them only to the extent necessary. In brief, police officers conducting an undercover investigation of an adult bookstore in Eugene observed petitioner engaging in homosexual activity in an arcade booth in the store. When his activities became known, a number of parents complained to the district’s administrators, and the district eventually dismissed him.
ORS 342.865 provides, in part:
“(1) No permanent teacher shall be dismissed except for:
* * * *
“(b) Immorality * * *.”
In Ross v. Springfield School Dist. No. 19, supra, 294 Or at 367-69, the Supreme Court held that “immorality” is an “inexact” term under the tripartite analysis of Springfield Education Assn. v. School Dist, 290 Or 217, 621 P2d 547 (1980), and that FDAB’s role is to interpret the statutory standard. In this instance, FDAB chose to do so by an order in this contested case rather than by rule. In the order, FDAB determined that “immorality” includes “reprehensible sexual *114conduct by a teacher.” Such conduct “must violate either the moral standards of the school community or the moral standards of the people of the state of Oregon.” FDAB found petitioner’s conduct to have violated those standards, because he did not keep it private:
“Privacy is a well known requirement of society for sexual activity. Engaging in sexual intercourse publicly is universally condemned. In this case, appellant’s engaging in sexual intercourse in a commercial establishment without a reasonable attempt to assure complete privacy is activity so reprehensible and so universally condemned that appellant was bound to know it would violate, as we conclude that it did, the standard of sexual privacy of both the people of Oregon as a whole and the school community.”
In applying an inexact term to specific facts, “the task of the agency, and ultimately of the court, is to determine whether the legislature intended the compass of the words to include those facts.” Springfield Education Assn. v. School Dist., supra, 290 Or at 224. In making that determination, the dispositive question on review is whether the agency’s action “is within the legislative policy which inheres in the statutory term.” 290 Or at 227. The court’s role is to review the agency’s interpretation of the law to determine whether it is erroneous, not to set forth our own interpretation. ORS 183.482(8)(a). 290 Or at 234. We accept the agency’s findings of the “historical facts” if they are supported by substantial evidence, ORS 183.482(8)(c), but we review the application of those facts to the appropriate legal standard as a matter of law. McPherson v. Employment Division, 285 Or 541, 547-48, 591 P2d 1381 (1979).
FDAB’s interpretation of “immorality” to include “reprehensible sexual conduct by a teacher” is not erroneous, nor is its implicit additional interpretation that engaging in sexual intercourse publicly is reprehensible sexual conduct.1 The facts of petitioner’s conduct are not in dispute; FDAB found most of them either directly in its findings or by *115implication in its opinion.2 The real question is whether, as a matter of law, petitioner engaged in sexual intercourse “publicly.” We hold that he did.
Webster’s Third International Dictionary defines “publicly” as “in public; in a manner observable by or a place accessible to the public[.]” Petitioner went to an adult bookstore, which was a place accessible to the adult public. He then entered a movie arcade booth in that bookstore. There was another man in the booth, and the two then engaged in sexual intercourse. The walls of the booth were made of plywood seven feet high, with the first foot from the floor open. There was a door with a bolt lock. A person in an adjoining booth could readily look under the walls and, with some assistance, could look over them. In fact, an officer observed petitioner’s actions in this case by standing on the shoulders of another officer and looking over the top of the wall. It would have been possible to see that petitioner had dropped his pants by looking below the wall. In addition, there was a four inch diameter “glory hole” at waist height in a wall connecting the booth to another booth. A person in the other booth could have observed petitioner through the hole.
In short, petitioner went to a public place and engaged in sexual intercourse in a portion which did not provide complete privacy and which he must have known did not provide complete privacy.3 The booths were places to view movies, not substitute bedrooms. Petitioner was not accidentally observed in a place where he had a right to believe that he was safe from observation; rather, he voluntarily took the risk of being observed in a place where he either knew or should have known that he could not expect complete privacy. We agree with FDAB that petitioner’s action so clearly violated the contemporary moral standards of this state that he had full notice that his action was immoral within the meaning of ORS 342.865(l)(b).
Once petitioner’s activities became known within the school community and among the parents of his pupils, his *116ability to function as a teacher was severely impaired or disappeared altogether.4 That effect was the result of his public immoral behavior, a result he must be deemed to have chosen to risk when he failed to take adequate precautions to be private. Although much of the concern expressed appears to relate to the homosexual nature of petitioner’s behavior, rather than to the aspects we find important, the crucial thing is that petitioner did in fact act improperly. The nexus required between petitioner’s behavior and his role as a teacher in order to justify his dismissal is provided by the parents’ reaction.5 We do not hold that that reaction was a ground for petitioner’s dismissal; his immoral behavior was. However, the reaction is relevant to the school board’s determination of whether dismissal was the proper sanction for petitioner’s transgression and whether his behavior was related to his work as a teacher which, under the district’s policies, is necessary to justify discipline. If petitioner’s actions had not met one of the statutory grounds for dismissal, no amount of public opposition to them could override his protected tenure rights.6 Because they did, FDAB did not err in affirming the district’s dismissal.
Affirmed.
This additional interpretation is based on FDAB’s determination that such activity is universally condemned and thus violates the state’s moral standards. The basis for this determination does not appear in the record, but we do not believe that it needs to do so. Neither FDAB nor this court requires evidence to show that public sexual intercourse violates community moral standards.
FDAB did not modify its findings of fact on remand, and we take them from its original order as well as from its revised ultimate findings of fact and conclusions of law.
Petitioner did not testify at the hearing.
Petitioner’s activity became known as an indirect result of a nuisance abatement suit that the Lane County District Attorney filed against the adult bookstore. Petitioner was subpoenaed as a witness for the state. The details of his actions did not become public, but enough of the general circumstances did so that the parental reaction had a clear factual basis.
The district’s contract with its employes provides, in part:
“The personal life of a teacher is not an appropriate concern or attention of the Board. It is recognized, however, that conduct of a teacher outside the school and/or the context of assigned duties may be sufficiently related to the teacher’s influence on the students and on the teacher’s effectiveness and performance of his or her duties as to remove the conduct from the teacher’s ‘personal life.’ ”
The fact that petitioner’s sexual activity was homosexual rather than heterosexual plays no role in our analysis. What matters is that he did not assure the privacy which contemporary moral standards require.