The sacred texts of the Church of Scientology were misunderstood, taken out of context, and embedded into a decision which stated, wrongly, what Scientologists believe.
What a Los Angeles County Superior Court judge did by interpreting scripture and failing to consult religious authorities on a matter of church doctrine was wrongful.
As difficult as some of these cases may be, courts have usually sided with the church and with the Lockean ideas. The church, not the state, distinguishes between human actions based on their religious motivation or lack thereof.