Used when admitting something one might otherwise lie about, e.g. to keep up appearances or be polite. From "if the truth should be told".