One who confesses in court is held to have been adjudged and in a manner is condemned by his own sentence.