By the effect it has, among other things. Courts take into account whether the stated motive is believable.