Returning to the same country is not considered transit under international airline regulations. You may get away with it, but would have no leg to stand on if denied boarding accordingly. I second the advice to refer to a consulate rather than Internet forum.