Judges attack 'irresponsible' PM