Makes perfect sense! Remember that Agatha had experience with Adam and Lilith. That type of construct requires an electrical generator for re-invigoration. If she intuited that Heir Franz was constructed on similar technology...

Now, I wonder what it would do for our favorite example of so recently sentient architecture. (C'mon! One good zap right in his flying buttresses!)