In the pilot, Willie's girlfriend Kelly mentions her university professor...Kelly: Stokes..Willie: The freak with the beret?Kelly: Bow-tie. He has some pretty wild theories about the Collins family...She then explains that he's told her about the hidden fortune in the mausoleum and has worked out the location from rare papers he's assigned her to index. So, indirectly, Stokes is the reason that Barnabas is released this time around, and I'm sure that wasn't coincidental.