OK, tried it, it doesn't work.
First I have to confirm that my bootloader is unlocked, I've got the pink UNLOCKED at the top of the screen - and I was indeed in fastboot mode.
I was able to clear cache and userdata:
fastboot erase userdata
fastboot erase cache
It all went dandy. But when...