A sultan’s choice of heir apparent is sparking debates about gender equality in Indonesia