Heres a longer explanation of how RINs work:
https://arstechnica.com/tech-policy/2018/08/ohio-man-is-latest-to-be-sentenced-for-millions-in-biofuel-credit-fraud/
Read the article - made my head hurt :-)