RIVERSIDE, Calif.—A California appeals court has ruled that a private Christian high school has the right to expel students because of an alleged lesbian relationship.

The 4th District Court of Appeal in Riverside on Monday upheld California Lutheran High School's right as a private, religious organization to exclude students based on their sexual orientation.

Two teens filed a lawsuit claiming they were discriminated against after they were expelled from the Wildomar school in 2005 because of an alleged lesbian relationship.

A court in Riverside found that the school had the right to expel the girls because the school isn't bound by the same anti-discrimination laws as a business establishment.

John McKay, attorney for California Lutheran, says the school's goal is to educate children based on Christian principles.

The attorney for the girls could not be immediately reached Tuesday.