I once was a sort of chemist, and my thoughts are as follows:
A prolonged boil will drive off the flavors. However, placing the beans for a moment in boiling water and then quickly cooling it down should have minimal ill effect. One can further refine the process by placing a device on top of the boiling pot, such as a lid or a distillation column of some kind if one is fancy, to capture the vapors and return them to the vanilla solution.
This should achieve foolproof sterilization without flavor loss. Just thought of it. Next time I make this delicious vanilla stout (probably late Nov/early Dec), I will give it a try!