Countermeasures refer to actions taken by states in response to violations of international law or agreements, aiming to restore legal order and hold violators accountable. These measures can vary widely, including economic sanctions, diplomatic protests, or even military responses, depending on the severity of the violation and the desired outcome. Countermeasures are grounded in the principles of necessity and proportionality, ensuring that the response is appropriate to the breach it addresses.