A protester has admitted maliciously damaging a display case containing the Stone of Destiny at Edinburgh Castle last year.