Weak lower semicontinuity of polyconvex integrals: a borderline case