Use check_vat function directly. It already checks both format and centralize the dispatch of methods. Closes #17644