Martin, aren't you thinking of Agamben referencing Walter Benjamin, not Foucault? In any case, one of Catherine Mills' most recent essays turns around this theme.
(Though, I have to ask, if law is reduced to a toy, will there still be lawyers?)
best, Angela