Option profiles store enum values as is. This stores the data as a QVariant, referencing the enum class. In normal settings enums are stored as values, being converted back to their enum type during load.
Storing a QVariant causes profile settings to fail loading if the enum class is not available. This can be the case with plugin settings, especially as profiles are accessed early before plugins get initialized.