Tesla CEO Elon Musk promised Wednesday to leave President Donald Trump’s job councils if the White House bowed out of the Paris climate agreement.

“Don’t know which way Paris will go, but I’ve done all I can to advise directly to POTUS through others WH & via councils,” Musk tweeted, referring to the infrastructural advisory positions that the techno-guru holds in the Trump administration.

“Will have no choice but to depart councils in that council,” Musk said when one of his followers asked what the Tesla CEO would do if Trump leaves Paris.

Will have no choice but to depart councils in that case — Elon Musk (@elonmusk) May 31, 2017

The president is expected to decide this week on whether the U.S. will leave the Paris deal, which aims to reduce the greenhouse gasses that many scientists believe contribute to global warming.

Trump’s emphasis on job creation and infrastructure spending is a good sign for the green energy revolution, Musk told investors at Tesla’s Gigafactory in January. Tesla employs about 25,000 people across the U.S., and hopes to add another 1,000 at its solar panel factory in Buffalo.

Tesla, for its part, receives extensive government tax credits. The automaker recently acquired SolarCity, which was founded and directed by several members of Musk’s inner circle and is propped up primarily by billions in taxpayer dollars.

Musk has become one of Trump’s biggest supporters, at least on business matters.

The tech entrepreneur, who made opposition to fossil fuels a key component of his brand, also endorsed the appointment of Secretary of State Rex Tillerson, who formerly served as CEO of Exxon. Tillerson supports the U.S. staying wed to the Paris climate deal.

Follow Chris White on Facebook and Twitter

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.