So this idea can be implemented with the condition that the player is trying to join an ongoing siege battle by two parties and the player is helping the defending castle.
The feature will have 3 stages:
The player can only break into the castle when no battle is ongoing, if there is one...