People like that do not get to me. I work in a clinic that provides screening and treatment. Generally, the people we see have managed to get to us; they are ready to be tested, and to be treated if necessary. We do not see people who are afraid to know their HIV status for those reasons.
Sometimes, we see people who do not want to know their HIV status but want to have all the other screening tests, such as for bacterial infections, because they know that those are easily treated and fewer legal consequences are involved.
However, most people who do not get screened for HIV because they are afraid of being criminalized, simply do not seek any health services at all. At that point, they receive none of the services they need.