Ranil Wickremesinghe, a six-time prime minister, became acting president last week after the then incumbent, Gotabaya Rajapaksa, fled to Singapore when protesters seized his official residence and office, roaming the corridors, using his gym and swimming in his pool.