My guess is he switches the formation when he gets into a game, thus fixing the illegal formation. But it will still show up in the match report as an illegal formation.