Ksiaz castle, Nazi headquarters during World War II