The Ontario government has joined the legal challenge by a firearms lobby group of the federal government’s sweeping 2020 ban of "assault-style" weapons.