'Teetering on the brink of authoritarianism': Federal judge warns of 'risky business' for democracy