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