Hold control when right clicking the box slot, and you can check legality directly. The Pokemon editor makes fixes automatically, hence the observed behavior.
This thread is not for reporting anything modified by external means; this includes manual injections of data from other games (likely incorrect handler data).