The Supreme Court decision has offered a new challenge to communities of faith.