California Revenue & Taxation Code
Cal. Rev. & Tax. Code § 18011
The credit against the taxes imposed by this part for net income taxes paid to another state shall not be allowed to any taxpayer or any class of taxpayers if the allowance of the credit will result in an invalid or illegal discrimination against another taxpayer or another class of taxpayers.
Source: official text