CYNTHIANA, Ky. — Gov. Andy Beshear, D-Ky., signed an executive order Wednesday declaring a state of emergency and allowing the use of dyed diesel fuel on Kentucky highways as diesel prices reach record highs.

Beshear said diesel prices have risen since the war in Iran and blamed the Trump administration for what he called the president’s “war of choice” and the closing of the Strait of Hormuz. According to the U.S. Department of Energy, diesel fuel prices have jumped $2.71 since January.

Dyed diesel fuel is exempt from state and federal taxes. It is typically limited to farm use, heating needs and off-road construction. Beshear said the order will remain in effect until the end of the year unless the war in Iran ends sooner. The state order matches a federal order signed by President Trump on Monday, allowing red-dyed diesel to be used on highways.

Some Kentucky farmers said the temporary change may not be enough to offset rising costs. Brian Furnish, an eighth-generation Kentucky farmer, said fuel costs are pushing American farms toward a breaking point. “I just bought 1,000 gallons of diesel and it was $5,800,” Furnish said.

Furnish said farmers need diesel prices to return to about $3 per gallon, where he said they were last year and earlier this year. “It’s extremely difficult right now for us because we need to be in that three-dollar range,” Furnish said.

The White House has blamed historic prices on the war between Ukraine and Russia and said the red-dyed diesel exemption could save up to $100 when filling up. Furnish said the savings would help but would not solve the broader cost problem. “It would give us about a $.25 break, but like I told you before, we’re still about 70% over what we were when we started the year,” Furnish said.

Farmers are also facing other pressures. The war in Iran has been blamed for rising fertilizer costs, and Kentucky’s growing season has included weeks of drought and extreme weather. Furnish said the cost per acre to grow crops is increasing, leaving farmers with little room for more financial strain.

Farmers also raised concerns that using red-dyed diesel in highway vehicles during the exemption could lead to a false positive if those vehicles are stopped and tested after the exemption ends.

Like Beshear’s order, the president’s order is set to expire at the end of the year.