Nasa co-principal Kalonzo Musyoka has received a major reprieve after the High Court blocked the government from withdrawing his security detail.
The government has also been blocked from revoking Kalonzo's firearm.
Lady Justice Roselyne Aburili on Friday also barred the State from arresting Mr Musyoka in respect to having the firearm.
The Wiper Party boss had moved to court seeking orders revoking his firearm certificate and withdrawal of security detail.
He has sued the Interior Cabinet Secretary, the Inspector-General of Police, the Chief Licensing Officer Central Firearm Bureau and the Attorney General.
The security withdrawal was seen as part of the government's crackdown on opposition leaders for their role in the 'swearing-in' of NASA leader Raila Odinga on Tuesday last week.