I am reading a book on siege war in Louis XIV's time.
It seems the rule was : we get somewhere, we ask the town to disband its walls at its own expense; we reoccupy it, we ask the town to build them again and so on and so on.
Did I mention that each time they had to do it quickly?