Using imaging from the Hubble Space Telescope, we derive surface brightness profiles for ultracompact dwarfs in the Fornax Cluster and for the nuclei of dwarf elliptical galaxies in the Virgo Cluster. Ultracompact dwarfs are more extended and have higher surface brightnesses than typical dwarf nuclei, while the luminosities, colors, and sizes of the nuclei are closer to those of Galactic globular clusters. This calls into question the production of ultracompact dwarfs via threshing, whereby the lower surface brightness envelope of a dwarf elliptical galaxy is removed by tidal processes, leaving behind a bare nucleus. Threshing may still be a viable model if the relatively bright Fornax ultracompact dwarfs considered here are descended from dwarf elliptical galaxies whose nuclei are at the upper end of their luminosity and size distributions.