legitimisation

noun

The act of making something lawful or acceptable.