A man who killed five people after deliberately driving at a crowd cheering Holland’s Queen has admitted it was an attack on the royal family, officials said.