California court clamps down on religious freedom