The US Supreme Court has ruled that a police officer did not violate the country’s federal anti-hacking law when he ran a license-plate search in a law enforcement computer without permission – a judgment that has major implications for civil liberties and the government’s ability to punish the misuse of data.