Any fortification only works as a delaying factor, as a rule. It might become a permanent effect if the enemy runs out of resources, say men, ammunition, or time. That wouldn't be the case for the Soviets in 1945, but could entirely be the case for the Poles in 1936.
That said, generals will...