The Prime Minister heads the Cabinet, answers to the legislation and executes whatever legal requirements the legislation requires them to do. The President holds the ultimate power because they can change Prime Ministers at any given time. They don’t report to the legislative. This is a very constitutionally weird arrangement. It’s there for historical reasons.