じゅう なな殿 でんであれば
jū nanadendeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 十七殿

1. If it is the seventeenth hall; When it is the seventeenth hall

Ba Conditional