A federal appeals court has ruled that a student and her agnostic mother can sue a West Virginia public school district on claims that the girl was marginalized and ostracized in the community because she chose not to attend a Bible education class.

A three-judge panel of the U.S. Court of Appeals for the Fourth Circuit on Monday reinstated the lawsuit filed by the plaintiff, Elizabeth Deal, and her daughter, Jessica. The Freedom From  Religion Foundation joined the lawsuit as a co-plaintiff.