In The Survivors, Picard makes the following statement towards Kevin Uxbridge:
We are not qualified to be your judges. We have no law to fit your crime. You're free to return to the planet, and to make Rishon live again.
That sounds like a gigantic cop-out;
First of all their qualification to be his judges is merely tied to their inability to hold him responsible for anything, as his abilities seem near omnipotent from the human's perspective.
However, my main quarrel is with the second sentence. For all intents and purposes, Kevin Uxbridge committed genocide. Something that humans are very familiar with from their own past. So the Federation would have to had dropped the law regarding genocide at some point.
I realise that the Federation doesn't just consist of humans, but wouldn't that be something humans would have been inclined to add to the Federation charter when drafting it?
This spineless statement is so deviant from the Federation and Star Trek philosophy (that is, in- and out-of universe) that I wonder why Picard, and by extension the writers, worded it like that.