The UK government has been hacking for years—and now it’s legal