Catholics are obliged to believe in dogmas as they are written. Pope St. Pius X explicitly condemned the proposition that dogmas are to be understood as figurative symbols. The Church understands her dogmas precisely by the very words she has once declared. Loyal Catholics must know that Catholic dogmatic statements are immutable truths of Heaven not subject for accommodation to suit the current world needs. Pope Pius X solemnly condemned this method of interpretation employed by Modernists, in which dogmas have a meaning that is different from what the words literally say and mean.
Catholics should not fall into the modernist error of "interpreting" dogma. Dogmatic statements say what they mean and mean what they say. "Baptism of Desire" is just a mask to hide the real liberal purpose behind it: undermine and frankly total deny the salutary dogma of "Extra Eclessiam Nulla Salus". Fierce adherence to BOD is nothing but an excuse to justify invincible ignorance and universal salvation. Both heretical notions born out of the Modernist devilish trap.
Modernists will, at least in public, affirm the words of the defined dogmas. However, they will teach a meaning that is different from what the words literally say and mean. This astute and sneaky method allows for an evolution of meaning within a dogma. This absolutely undermines the immutability of divinely revealed truth. It then allows for an actual denial of the dogma as the Church has always understood it and taught it.
There is not a single infallible statement on BOD. Trent never taught BOD and actually anathemized those who believe that Baptism is optional and the Sacraments superfluous and not absolutely needed for Salvation.