Almost all of it can be covered in a day or two, including a lengthy visit to the Royal Palace.
You can visit the Royal Palace in two days.