"If you are a non resident alien married to a U.S. citizen or resident, and both you and your spouse choose to treat you as a resident, you ARE A RESIDENT ALIEN for tax purpose."
NOW WHAT IS THAT?
PUB IS FOR CITIZEN AND RA, you are right, BUT IT ALSO COVERS SPOUSES CHOOSING TO BE TREATED AS RA.
READ IT AGAIN!