Countries with a king or other monarch and free elections is called a constitutional monarchy, not republics. A constitutional monarchy resembles a republic because the constitution has been amended to remove power from the monarch and install institutions conforming to a philosophy of republicanism. That includes the United Kingdom and the other Commonwealth realms, the Netherlands, Thailand, and countries in Scandinavia and elsewhere. What makes a republic different is that its laws are made and enforced without royal authority.