"charge everyone on board with espionage, give maximum jail sentence" won't help: most of the crew has no choice in those operations, some might not even know what is going on. They also have dozens of ships that can do such damage, so no way to scare them by seizing or jailing one.
The only good way would be to close the path.