Baroque dean's church in the castle grounds, in its dome there is a fresco of St. Margaret from 1734 by K. F. Tepper