A politically neutral and powerless head of state is common in a lot of countries. Norway has a monarch as their head of state. Japan's head of state is their emperor. Germany has an elected president that is their head of state but their chancellor is the real leader.
It allows the country to present a top government official at ceremonies that isn't involved in any kind of scandal. Unfortunately, the British monarchy once did terrible things so that kind of follows them and weakens the "politically neutral" argument.