Lord Rama was wearing clothes of leaves, was consuming fruits in jungle, was sleeping on the bed of grass. And in that situation he gave Lanka to Bhibheeshana. This is the way in which Lord Rama works.
Goswami Shri Tulsidas