That's a good idea but I think it can be simpler, the city could seize the workshop during the war and give it back to you just after the war because relations would be more or less back to normal (and the city might need something like foreign investments etc - this would be "invisible" lore explanation anyway).