Can't attest who murdered someone or stole something or drew graffiti either, but making it illegal makes it happen a lot less, because of the chance that someone actually can attest it.
For example if you post it to Instagram or YouTube they'd know it was you, and you could go to jail.