I have watched Star Trek The Next Generation season 6 episode 3, "Man of the People". I won't go into much detail, but the main antagonist uses the hospitality of the Enterprise to siphon bad emotions from himself onto Counselor Deanna Troi that results in her aging and possibly dying. Luckily, at the end, Dr. Crusher reverses this process and manages to kill him. However, before then, his aide, Liva assisted him, knowingly, in attempting to kill Troi.
I believe not only should have Alkar been punished, but Liva and the guards who assisted him as well. They should be arrested for attempted murder. Also, I hate how the Federation or Picard allow themselves to be abused by other people who will never be held responsible. Even if Alkar eventually died, none of the other accomplices were punished. They never are. The Federation or Picard present themselves as weak when they allow themselves to be abused by outside parties. In the final act, Picard does threaten Alkar with punishment for attempting to kill a Troi (a Starfleet officer) but Alkar says he was promised by the Federation Council safe passage to his home world. The way he says it so assured is disgusting, as if he couldn't be punished for his actions. I pray that this is not a common occurrence for the Federation. Criminals are still criminals even if the Council promised safe passage. You will get no safe passage if you break one of the Federation's laws.
Threatening a Starfleet officer should be like threatening a military officer. It should be a punishable offense. Those who do so must not be allowed to get away with that. The audience must know the people who do such things are punished even if their two worlds are preparing for war. I lose respect for Starfleet and the Federation every time this happens.
Synopsis:
https://memory-alpha.fandom.com/wiki/Man_of_the_People_(episode)It does not talk about Liva but in the episode it's clear she knows what she's doing.