The EU has created a sanctions regime specifically to target Hamas following the attack on Israel by Hamas on October 7.