In an experiment, $m$ grams of a compound $\mathbf{X}$ (gas/liquid/solid) taken in a container is loaded in a balance as shown in figure $\mathbf{I}$ below. In the presence of a magnetic field, the pan with $\mathbf{X}$ is either deflected upwards (figure II), or deflected downwards (figure III), depending on the compound $\mathbf{X}$. Identify the correct statement(s)