If it is the 'law' its doubtful.
My neighbors growing up were from Haiti. The boy my age was born in Haiti. Even though he had US Citizenship and a US Passport, he could not visit after age 16 as he would be immediately drafted. The embassy would have been of no help, as that was the law. Haiti still considered him a citizen.
So, be careful going back to your home country thinking the US passport can provide immunity. Many countries would still recognize you as a citizen of their country and subject to their laws (especially regarding compulsory military service).