There is precedent for these pardons though. In 2006, 306 soldiers excecuted in WW1 were pardoned for military crimes including desertion, and cowardice, both of which are still crimes in the Armed Forces.
Obviously, unlike gay men pardoned for homosexuality, these soldiers were dead, but, there...