Zardari enjoys general immunity from prosecution as president , but the Supreme Court could choose to challenge his eligibility for the post since the amnesty decree by ex-military leader Pervez Musharraf was never formally approved by parliament .