USA's DoJ isn't in charge of other countries DoJ / equivalents. If you're going to confess to a crime you committed outside of the USA you might want to get that country also to sign onto immunity.
Or you might want to be confessing to a country you're a resident of so that you have actual standing to oppose being extradited.