jousting lists and training grounds are supposed to give castles the free_upkeep capability but so far moving any unit into the castle or building any unit type didn't actually trigger that capability.
Does that mean that it is inherently bugged?