The Third Schedule of the Constitution provides for how the Yang di-Pertuan Agong and his deputy are chosen. But the Conference of Rulers also has the overriding discretion to offer the office to whoever is deemed most suitable.