A 32-year-old Saudi crown prince — who boldly put his royal cousins and members of his country’s business elite under house arrest as part of an “anti-corruption” coup — has been outed as the secret buyer of the world’s most expensive home.

Crown Prince Mohammed bin Salman, heir to the Saudi throne, bought the $300 million newly built chateau near Versailles in Louveciennes, France, the New York Times reported.

The home was constructed in three years by developer Emad Khashoggi, the nephew of the late arms dealer Adnan Khashoggi. Emad tore down a majestic but crumbling 19th century chateau at the site to build the new one. Kim Kardashian once reportedly considered it as a wedding venue for her marriage to Kanye West.

The property is smart-wired — all the fountains, lights, air, heat and sound can be turned on by an iPhone anywhere in the world. It also contains a moat filled with sturgeon and koi that can be seen from a transparent underwater room.

The prince paid a jaw-dropping $450M, via a proxy prince, at auction for Leonardo Da Vinci’s “Salvator Mundi” this fall.

In addition, Crown Prince Mohammed is the owner of a 440-foot yacht that is even more expensive than the house — a $494 million vessel with two pools and a helipad, which he bought, on impulse, from a Russian oligarch after spotting it while vacationing in France. He was outed for that extravagantly pricey purchase thanks to leaked legal firm documents from Bermuda known as the Paradise Papers.

He also owns a 620-acre estate in Conde-sur-Vesgre, known as “Le Rouvray,” an hour outside Paris by car.

Saudi-watchers say it is risky for Crown Prince Mohammed to jail enemies for corruption and tout fiscal conservancy at home, especially as oil prices drop, while he continues to pay record prices to add to his personal collection of the world’s most expensive things. Such actions betray him as yet another royal stealing from the wealth of his people instead of a reformer who has pledged to let women have basic freedoms, like the right to drive a car, critics charge.

Presidential son-in-law Jared Kushner, 36, has had several meetings with the crown prince, who look at each other as contemporaries. Saudi Arabia is considered key to any Middle East peace deal.