Could be personally participating in the overthrow, financing it, sending them weapons otherwise purchased and shipped legally, giving them intelligence, cracking into their computer networks to shut down their telecommunications, etc.
That would be illegal in the target country of course. But is it illegal anywhere else? And does it matter if they say had a bunch of UN bodies declaring them to be basically outlaws by violating the UN Charter?