Open up the faction file, there should be a line that is <SovereignUnitType>[sovereign internal name goes here]</SovereignUnitType> if not copy it into the file below the <RaceClassification>[race name goes here]</RaceClassification> line.
Internal sovereign name can be found in the file containing the custom sovereign at the beginning of its data.