California Superior Court Burt Geernaert, who heard the case, visited the restaurant in the course of the trial, at the end of which he denied the plaintiffs their injunction, ruling that Section 51 of the Civil Code, also known as the Unruh Civil Rights Act, only bars discrimination based on sex, not sexual orientation, and accepting the defendants' claim that the policy was geared to protect other diners from being exposed to behavior they might deem offensive.