The Capitol is a unique structure. The mine should not disrupt the principle of a unique structure, and its profitability should already be higher.
Even comparing it to a magistrate is not worth it, because it adds the possibility of additional upgrades.
In any case, if you apply the approach of profitability within 7 days (and this is justified in the case of long games), then the warehouse should also be brought to a proper state.
Besides, the player should have common sense that it would be unprofitable for him to upgrade all the mines, and upgrading most of the mines may be affordable at a low price....
Well, with the Undead, I meant stone, but never mind.
Added 3 minutes ago
Think about it yourself, the market is almost always available. This means that there are no problems with the availability of the warehouse. What will I choose, build a warehouse for 5000 and 5 stone, or upgrade a specialized mine for 7500, which can also be easily captured?