The primary overrides the secondary

העיקר דוחה את הטפל
Shiurim in this topic
4502. On Attending Chassidus Classes, Prayer Intent, and Following One's Teacher על השתתפות בשיעורי חסידות, כוונת התפילה, והליכה אחר רבו