There is a difference between having your name changed and taking your husband's name after marriage. After marriage you would show the DMV your marriage certificate, not a court order.
Perhaps it's different between our states, then. When I changed my last name to my husband's, I brought in only the court order. My marriage certificate has my maiden name on it.