BRASÍLIA — The judge had allowed himself a moment to relax. His beloved Corinthians soccer team was playing on television. The game wasn’t particularly good, he said, but it was a useful distraction — from the American sanctions against him, the taunts from Elon Musk and the U.S. tariffs imposed on Brazil by President Donald Trump in direct response to his work.