It is also not taken as fact, but is cross examined and then determined whether it's truthful of not.
You just don't get on the stand and say something and it's the truth.