Python isn't doing any conversion here. We just do a regular lookup of the given enum identifier in the RNA enum definition.