The ruling means that Pistorius, who is charged of murdering his girlfriend Reeva Steenkamp, could attend London’s anniversary games, which will take place between 26 to 28 July.
A spokesman for UK Athletics declined to comment as to whether Pistorius would be allowed to compete.
Pistorius’ lawyer, Barry Roux, told the North Gauteng High Court that while his client had no immediate plans to compete, he might need to run track meets again to earn money. He argued Pistorius should be allowed to travel to meets under “controlled” circumstances.
The athlete would be required to return his passport to the court within 24 hours of returning to South Africa.
Roux also argued that Pistorius should be allowed to return home and talk to his neighbours in order to more efficiently prepare his defence. Pistorius says he killed Steenkamp accidently, mistaking her for an intruder.
Prosecutors say he shot her intentionally after an argument and have charged him with murder.