A federal court has declared Trump's attacks on law firms an 'overt attempt to suppress and punish certain viewpoints'.