Apparently this is due to some sneaky clause inserted into a farm bill back in 2008 (Pelosi was speaker of the house then).
Can’t blame this one on the Rats. The law was changed in 2011 under Boehner.