This athlete in transition knew that s/he had an unfair advantage and should have sat out the matches as a matter of principle and good sportsmanship.  Is it "legal", yes, but is it "ethical"?  Hmmm.  Knowing that you have a clear advantage over your competition due to drugs (prescription or otherwise) , an ethical athlete would sit out.  

Sad to see what society has become.