It is the /etc/apt/preference.d/ that I usually use in order to manage repos priority.
cat /etc/apt/preferences.d/mozillateam
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
And then, when I run apt install firefox, the firefox package available from mozilla repo will be installed instead of the firefox snap package from the Ubuntu distrib.