CBNNews.com - A Christian school that disciplined students for their homosexual behavior won a legal victory Monday.

The California court of appeals ruled California Lutheran School did not violate the state's anti-discrimination laws for reprimanding two lesbian students.

In 2005, the parents of two girls sued the school and its principal, the Rev. Gregory R. Bork, after the teens were expelled for their conduct.

The girls were reprimanded for taking pictures in suggestive poses, which violated the school's "Christian Conduct" rule.

Lawyers for the teens argued that the school could not discriminate because it is a place of public accommodation. They said the expulsion violated the state's Unruh Civil Rights Act, which prohibits discrimination in public establishments based on "sex, race, color, religion, ancestry, national origin, disability, or medical condition."

But the school said it had a right to discipline according to its religious beliefs because it is not a "business enterprise."

"The court understood that this right would be violated if Christian schools were subjected to liability under California anti-discrimination laws for expelling students who engage in homosexual conduct." said the school's attorney Timothy J. Tracey.

Attorneys for the school say this ruling helps preserve the rights of Christian schools.