Before revision:  In turn we prove that the improved upper bound is the dual optimizer of a relaxed version of the initial transport problem, thus proving sharpness of the improved upper Fr\'echet--Hoeffding bound for the relaxed Fr\'echet class. This is achieved by direct construction of the dual optimizers for a certain class of objective functions. ] 
After revision:  In turn we prove that the improved upper bound is the dual optimizer of a relaxed version of the initial transport problem, thus proving sharpness of the improved upper Fr\'echet--Hoeffding bound for the relaxed Fr\'echet classes. We show that the improved Fr\'echet--Hoeffding bounds are pointwise sharp for these classes in the presence of uncertainty in the marginals, while a counterexample yields that they are not pointwise sharp in the absence of uncertainty in the marginals, even in dimension 2. The latter result sheds new light on the improved Fr\'echet--Hoeffding bounds, since Tankov ]