Doing wrong is not black and white even in law.
My own father who of course had never heard of Prince Andrew, could not sweat. My mother , who had never heard of Prince Andrew, told me this when I was was girl . My mother did not explain about the adrenaline thing as she had no medical knowledge, but after Andrew's admission about not sweating . I can understand how hormones are affected by some severe life events. My father was at the Eastern Front during the Great War.
Also in support of Prince Andrew, he probably did not even know that it was illegal or even immoral to shag an unknown and poor seventeen year old girl. Very rich people have odd childhoods, and it takes special efforts by parents and teachers to teach them what real life is.
Look after yourself. Light observation.