If the Federation was in the business of putting higher beings on trial, don't you think the second they learned Q was human they'd slap him in a courtroom so fast it'd make his head spin?
If these are spoilers you are about 30 years behind.
Q
Two that I can remember: Q got temporarily kicked out of the continuum (reference d above), also when Q got banished in the asteroid and Janeway let him out, he became human, then committed suicide.