We must take it step by step for JAM......
Canon IV: "If any one saith, that the sacraments of the New Law are not necessary unto salvation, but superfluous ... let him be anathema."
Per the above quote from Trent, the sacraments ("though all the sacraments are not indeed necessary for every individual") are necessary unto salvation. This is indisputable. You must accept this under pain of mortal sin as it is heresy to deny this dogma.
Canon IV continued: And if any one saith that "without the sacraments, or without the desire thereof, men obtain from God, through faith alone, the grace of justification...let him be anathema."
Per the above quote from Trent, the Church teaches that without the sacraments, or without the desire thereof, we do not obtain from God through faith alone, even the grace of justification, let alone eternal salvation. This quote condemns with anathema those who preach a BOD.
Nowhere does Trent (the Church) teach that salvation is both necessary and not necessary without the sacrament, rather, it explicitly condemns with anathema those who say salvation is possible without the sacrament.
Can we at least agree on that?