Boris Johnson’s Brexit plan breaks international law, minister admits