International agreements play a critical role in shaping global environmental legislation by establishing common standards and objectives for conservation and environmental protection. They facilitate cooperation and coordination among nations, driving collective action on transboundary and global environmental issues such as climate change, biodiversity loss, and pollution control.