Although power is vested in the prime minister and their cabinet, the head of state can dissolve parliament, and no act can become law without their signature.
This arrangement means that although the prime minister and their cabinet wield considerable authority, the head of state retains the power to dissolve parliament and guarantee that any new laws require their formal approval before they can take effect.