Nonlinear gauge transformation for a quantum system obeying an exclusion-inclusion principle