It was the right thing to do, but F1 did not exactly get a choice here.
The Emilia-Romagna area had a red alert since Tuesday. This bans all non-essential travel. When the F1 crews that bothered to go to Imola (I think Ferrari had read the news and stayed put), they got partway through set-up before the authorities booted them out. Partly, this was due to the red alert (setting up the paddock is not considered essential for flood safety purposes) - and partly the river bordering the paddock was one of the 14 rivers about to burst its banks. A drone photo next afternoon showed the water up to the wheel arches of the Pirelli lorries (which had not left, although I think from the photos Pirelli had otherwise packed up).
However, credit to Yuki Tsunoda for helping to mop up the area around his hotel. That earns brownie points from me.