Surely the simplest solution is to have this ONLY exist for the player (i.e. no AI treasuries) to avoid exploitation? Although that would get rid of most of what you are actually suggesting. Maybe have AI treasury buildings disappear at Hard and Very Hard mode as a compromise.

I Am Herenow