The court’s action marks a significant development in the long-running dispute surrounding the Taj Mahal.