The domestic grid has no impact on most Toyota/Japanese cars which are exported or built elsewhere --- often using engines made in Japan.
This was about saving a large segment of the Japanese economy which is centered around the internal combustion engine and associated expertise and know how.
https://cleantechnica.com/2021/11/15/toyotas-team-japan-aims...