Seol mar théacs é seo: Nontariff measures with market imperfections