The court’s decision has paved the way for Parliament to convene on August 22 to select a prime minister.