Opposition politicians have accused the government of undermining Polish security by handing over the weapons.