Suppose that for Bob the only way to escape a proximate danger of sin caused by ubiquitous and severe immodesty is to enter a monastery. However, Bob is not fully convinced of the truth of Catholicism and he knows that if he goes to a monastery he will not be able to buy obscure books and research stuff on the internet, etc. So you could say he is also in a proximate danger of doubt, schism or apostasy. Does this justify him not going to the monastery?