Shirley was just used as a plot device to reveal 2 things:
Once degeass'd by the geass canceler, you can be regeassed by lelouche. And if it's an impossible command, the geass will not work. Hopefully this means spinzaku's live command can be nulled by a 'checkmate'. Little bitch.