Federal Judge lectures Trump and lawyers