Revert "[mr2761] Drop redundant and unsafe code."

This reverts commit ed4615e726f77804da79e428bafbbd52eee308af

Not redundant :(
all faction exist `in character_reputation` and is unique.