How Regulation Can Be Good For Innovation