Judge says BigLaw firm essentially called him stupid in ‘astounding’ display of ‘effrontery’