ISLAMABAD, Pakistan — A Pakistani court on Wednesday ordered that the jailed former Prime Minister Nawaz Sharif and his daughter and son-in-law be released on bail as they appeal convictions on corruption charges, inching the family closer to restoring their status as political juggernauts in the country.

They had been convicted by an anticorruption court in July over luxury properties that the family owns in London, but a two-member bench of the Islamabad High Court suspended their sentences on Wednesday — a decision that may portend well for their appeal to overturn the verdict completely.

The conviction, by a lower court known as the accountability court, upended Pakistani politics and helped weaken Mr. Sharif and his political party just weeks ahead of July 25 elections, which his rival, Imran Khan, won. Mr. Sharif was sentenced to 10 years in prison, Maryam Nawaz to seven years, and her husband, Muhammad Safdar, to one year.

The Islamabad High Court’s ruling was seen by some as a stinging censure of Pakistan’s legal system and its lack of independence. By suspending the sentences, observers said, the court signaled that the evidence used to convict the Sharifs was too weak to stand.