We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I've seen this as a condition check, but the only example is pope and controler_of_pope.
Can you use relative_to with the value = liege or value = best_vassal ?