FRENSTAT, Czech Republic  A political coup has shaken the Czech Republic since Boleslav the Kind Hearted Forever was ousted as king of Wallachia, a sleepy kingdom where locals drink 110-proof plum brandy for breakfast and use a wheat-backed currency pegged to the dollar.

The faux Kingdom of Wallachia is nestled in the northeast corner of the Czech Republic, 230 miles from Prague. It was founded in 1997 by the itinerant photographer Tomas Harabis, its current foreign minister, as an elaborate practical joke.

The ruse quickly captured the imagination of Czechs, long drawn to black humor and parody, and Wallachia, which also happens to be a real place, became one of the country’s biggest tourist attractions. Its success has led to a real-life battle over who owns the kingdom, which generates hundreds of thousands of euros in revenue each year.

The kingdom has the requisites of authentic statehood, including a currency called the jurovalsar; consulates in the Arctic Circle and Togo; a Royal Wallachian Navy, consisting of 40 wooden canoes; a bright yellow Communist-era limousine for use by visiting dignitaries; and a burgundy passport, covered with a picture of the pagan god Radegast, that Mr. Harabis says he has used to cross the border from Canada to Alaska.