Environmental tax design with endogenous earning abilities (with applications to France)