Obama's mother was only 17 when she got pregnant by the already-married Kenyan, Obama Sr. (who had a wife in Kenya). Hence, she was underage and in a polygamous marriage.
I don't think Obama would have the gall to judge in this case, despite his legendary hypocrisy.