The problems is that after successfully installing a landless claimant you can't help him when the deposed ruler rebels on day 1 and has more land. This is a real problem when you install a courtier as king and the previous king gets to keep all his duchies and counties minus one county. There's not even a truce.
Similarly, if you grant someone a title equal to your primary title, e.g. after a holy war, and you can't get a marriage in place, that new holder is defenceless. And obviously doesn't have a truce with the previous owner.
Example 1:
King of Denmark gets ousted and is now a courtier in Poland. King of Poland presses the claim and wins. The new old king of Denmark holds 1 county and the usurper still holds the Duchy of Skane and maybe one other. The Duke has no truce with his restored king but has 1) a strong claim, 2) a negative opinion modifier for Claimant, Usurped Title and whatever else you want. You can start counting.
Example 2:
King of France decides to help the Christians in Nubia, recently swallowed by whichever Muslim power holds Egypt. He wins the holy war for the Duchy of Aswan, cedes it to some surviving Azim along with the royal title created thanks to holding Makuria. The aforementioned Muslim power can DoW right away and the new old King of Nubia doesn't have any levies whatsoever, nor an alliance with anybody.
Solution:
Treat any installed claimants (regardless of title rank) as allies. Treat any grantees of equal tier titles as allies. The grounds of alliance can be "patron" or "backer". This type of relationship should carry a life-time opinion bonus, I think, plus it could perhaps produce a prestige gain as long as your "installees" stay in power.
Similarly, if you grant someone a title equal to your primary title, e.g. after a holy war, and you can't get a marriage in place, that new holder is defenceless. And obviously doesn't have a truce with the previous owner.
Example 1:
King of Denmark gets ousted and is now a courtier in Poland. King of Poland presses the claim and wins. The new old king of Denmark holds 1 county and the usurper still holds the Duchy of Skane and maybe one other. The Duke has no truce with his restored king but has 1) a strong claim, 2) a negative opinion modifier for Claimant, Usurped Title and whatever else you want. You can start counting.
Example 2:
King of France decides to help the Christians in Nubia, recently swallowed by whichever Muslim power holds Egypt. He wins the holy war for the Duchy of Aswan, cedes it to some surviving Azim along with the royal title created thanks to holding Makuria. The aforementioned Muslim power can DoW right away and the new old King of Nubia doesn't have any levies whatsoever, nor an alliance with anybody.
Solution:
Treat any installed claimants (regardless of title rank) as allies. Treat any grantees of equal tier titles as allies. The grounds of alliance can be "patron" or "backer". This type of relationship should carry a life-time opinion bonus, I think, plus it could perhaps produce a prestige gain as long as your "installees" stay in power.