Navigating Legal Frameworks: Unraveling the Foundation of Renewable Energy Certificates