Yup, thanks, it works when I put it in a holder_scope.
I fear though that I will have to create a global yearly pulse or so after all. For instance, if you expand the realm, the added characters do not have the special title. And as seen in my example above, I also have to rename princes and the like, who are born over time.
Don't know, would that be very performance-intensive? The event's trigger being having the law and effect using the aforementioned any_realm_character scope?
I guess alternatively, you could attach a more concrete script to a variety of conditions such as birth, titles being gained and such, and make it fire only when the top liege has the law, but I don't know if that would be better for performance.