Photo published for Brexit could be reversed, government lawyers may argue