Matthew 10:14
King James Version (KJV)
14 And whosoever shall not receive you, nor hear your words, when ye depart out of that house or city, shake off the dust of your feet.
pull quoting. This verse has nothing to do with this situation.
Doesn’t apply. They ones in need of the priests’ immediate attention didn’t turn away from them, they were prevented from receiving that attention by others. The priests had a duty to disobey the civil authorities and to perform their sacramental rites.