Twenty years ago, about when I started coming, I belive the Ritz building was a police station.
The W Budapest is also a Marriott hotel if that is of interest. Stunning hotel and one of the most enjoyable locations in town, but I dont think the service will live up to the potential.
I love the history of these things so, first is was a retirment home for railroad executives (they lived well), then the commies converted it into a national ballet academy which it remained I belive until about 2000. When the commies left, all the properties became the property of the City. The District VI mayor sold it very cheap to foreign investors. Later it was discovered that the a large sum of money appeared in his personal bank account and so the building languished for decades. Now beautifully restored as the W Hotel. Here are some wonderful period photos: https://mahlerfoundation.org/mahler/locations/hungary/budapest/reitter-cafe/ and today: https://www.marriott.com/en-us/hotels/budwh-w-budapest/photos/ On a pretty day I will go and have a remarkably expensive beer on the front porch, just for the atmosphere.
And I think if you ask about the Ritz-Carlton in the HUNGARY forum, its pretty self explainatory in which country and city you are enquiring.