As a queen, what must I do to take the son of my husband's dynasty out of succession line? [duplicate]
I have two sons now, one is of my former husband's side and older than the second son of my side from matrilineal marriage. The first son won't leave the succession line. I can't conspire to murder him since he's my child.
What must I do to take him out and bring my second son forward?
EDIT. A bit of update, that stupid non-dynastic heir somehow inherited a petty kingdom nearby, meaning he was not of my court anymore, there was nothing I could do. I could not ask him to take the vows (since he's not my courtier), couldn't imprison him though I was willing to suffer the opinion penalty. I tried to fabricate claim and declare war with hope to capture him as POW but wasn't a success. He took over the kingdom after my passing, leaving my dynasty to oblivion shame and putting an end to yet another noble house that couldn't survive the feudal hardship.
There are 3 viable options:
Disqualify him from inheritance/holding titles, by making him a monk.
Change your succession laws, so the oldest child can't inherit (Elective, Elective Gavelkind, Ultimogeniture, Seniority.
Kill (Imprison/Execute) him or blind/castrate him (If Greek)
You could also give titles to your prefered son, so you won't trigger an immediate game-over if the non-dynastic son inherits your main title, and then, after you die, (the new) you can just press his claim.
Making your son a Commander and sending him into losing battles may also work out nicely. You could also use the Intrigue Focus to spy on him, and imprison/have him killed without plotting. Same for Martial Focus and Dueling if you're capable.
There are a couple of ways not yet mentioned in Oak's answer (pre question edit though):
1) Excommunication.
If your child is not in good standings with the Pope or you have some variety of PocketPope, you can ask for him to be excommunicated. At that point you can freely imprison them and either execute (no penalty), or order to take the vows (disqualifying from succession). If they are not in your court anymore, you can still start an excommunication war.
2) Entrapment.
Give your child some land and make him rebel against you. This is easiest done by waiting 5-10 years until title grant opinion bonus has disappeared and then doing something nasty to them - like revoking a title, giving the jester title, or simply uncovering a plot on them with your spymaster (if you were the same sex or you were homosexual you could also try to seduce their spouse). You could do this immediately as well, but in that case you will almost certainly anger your other vassals as well, because of the sheer amount of opinion bonus you need to burn. Once they rebel, they are fair game to imprison and then, well... bad things can happen in dark dungeons. Not all of them allow you to take up the throne afterwards.