The second church stands in the middle of Dvor pri Polhovem Gradcu. It is a late Gothic structure dedicated to Saint Peter and was built in 1525, probably on the site of an earlier church. It has a carved door casing and a late Gothic wooden ceiling with Renaissance elements. Its main altar dates to 1739 and one of the side altars with the date 1627, dedicated to Saint Valentine, would be the oldest surviving example of a gilded wooden altar in Slovenia if it had not been so excessively restored at various points. The church has cultural heritage status. The church was built from the ruins of Baumgarten Manor after it was destroyed in the earthquake of 1511 and it is also referred to as the "imperial church" ("cesarska cerkev") or "count's church" ("grofova cerkev").