Islam used to have a very solid legal system but it has not developed past the late Khilafa ages.
One you have a religious manuscript, and submissive population, you can pull off whatever shit you want and you can always find an obscure religious passage to support your claim. MBS is such a disgrace for all humanity, not just Islam, and I dare wish to see Hijaz is outside the control of Aal-Saaud.