Complex sentence: By convention, this may only be upon advice from the Prime Minister who retains responsibility for selecting an immediate replacement or letting the vacancy provisions take effect.
Split into simpler sentences: By convention, this may only be advised by the prime minister. The prime minister has the option of naming an immediate replacement or letting the vacancy provisions take effect.