Liboverride troubleshoot operation() proper context

If I try to invoke the bpy.ops.outliner.liboverride_troubleshoot_operation(…) from a script I get an improper context error, although I’ve set_select(True) the armature that is linked. Is there a proper context in which liboverride_troubleshoot_operation() can be invokes in a python script?