Johannes Kepler was acquainted with Prince Hans Ulrich von Eggenberg personally, and he probably influenced the construction of Eggenberg Castle.
Source: Wikipedia