Draco could leave the scarf where it is. She'd probably remember in the morning where she'd left it, and she'd dash down here to retrieve it. The cleaning team may come through overnight, though, and take the scarf, and Granger would never see it again.