You may have a core snap that is newer than the deb, so the policy you actually need to modify is /etc/apparmor.d/snap.core.REVISION.usr.lib.snapd.snap-confine, where REVISION is the revision of the core snap you have installed.
You can also just sudo snap refresh core --beta
.