Judge grants TRO against Mayor Adams