Andrew Johnson actually said...
I do exhort all judges, magistrates, marshals, and officers in the service of the United States to employ all their lawful authority and power to prevent and defeat the aforesaid unlawful proceedings and to arrest and bring to justice all persons who may be engaged therein.
Context
Proclamation 155—Warning Against Participation in an Expedition Against North American Colonies of Great Britain
06/05/1866