I have run into the same problem as this user here:
Handle exception from nHibernate EnumStringType when enum values don't match string values
The question is already answered with some sample code.
I used this sample code to create a more elaborate, generic class that does the same thing, but provides more flexibility.
I am humbly proud of my code (albeit it only slightly modifies the original answer) and would like to share it to people stumbling upon the same issue.
Is it OK to post my "improved" code as another answer, or should I edit the original answer with my code (again, it only slightly modifies the code and adds some generics / failsafes and documentation) or just not do it at all?