Whether it's illegal or not is a matter for the lawyers. History will judge you by morality.