what event set precedence that alleviated the the problem of having on law of succession in the empire please help

What empire? When?

Did you mistype "no law" as "on law" ?