A misdemeanor plea agreement approved last month by a judge in this Buffalo suburb has touched off something of an international incident , with Ontario 's top elected official accusing the United States of using Canada as a dumping ground for criminals .