King Charles has welcomed a new dog into his home for the first time in more than 20 years.