Locals douse the flames at the 200-year-old palace within minutes