I don't see how that's relevant. Sure, it's not a bonus to a building you'd build anyway. But if the cost-benefit analysis is good enough, then it's worth building, and it'll add a net benefit to the city, even with opportunity costs. I wouldn't build it over settlers and warriors, but once...