In criminal law, they are considered to be a statement against penal interest. As such, they are not excluded by rules which prohibit hearsay.