Correct, it's not a statement. When the person officiating at a wedding says this they are marrying the two people.
They are making the marriage official.

Go to next page >>