At least this isn’t a political witch-hunt...
I do not see how this can possibly be legal.
In fact, the very nature of this subpena should be grounds for impeachment of the mayor and the judge