How did Khan and his pals get on the Reliant?
In the next film Saavik and David can't get Baby Spock beamed up from the Genesis because of Star Trek regulations / risk of contamination. Even earlier, David is refused beaming the life form up for the same reason.
Therefore how did Khan and Co manage to get beamed up without any special conditions and seize control of the reliant?