sentence: in 1809 , napoleon bonaparte , french emperor and conqueror of much of europe including the netherlands and its colonies , ( before his ultimate downfall at waterloo in 1815 ) ordered the dutch indies governor h.w . daendels to improve the defensive systems of java to protect against the british in india .