The NEC has some requirements to ensure that your main panel 200A busbar is not overloaded. [Check the label closely, there's a chance the busbar is 225A even though the main breaker is 200A.] Now, in practice, with only 2 sources of supply (the grid and the Gateway), and only 3 load breakers that add up to less than 200A, there's no way for that busbar to be overloaded.
However, the NEC options for compliance are more limited and don't include adding up the possible load breakers as above. So assuming a 200A busbar, there are just 2 possible options:
a) All the breakers except the main add up (per leg) to 200A or less. That would work if your Neurio breaker is 10A and your Gateway breaker is 100A.
b) The Gateway is configured to never allow more than 32A continuous to flow towards the grid from it. [That's a new compliance allowance in the 2020 NEC, and CA is on the 2017 NEC, but many AHJs are allowing its use early.] The Gateway breaker needs to be at the opposite end of the bus from the main breaker.
The reason I bring this up is that you mentioned adding the 50A breaker for the 14-50 receptacle. If prior to that the configuration was 40A A/C breaker, 10A Neurio breaker, and 150A breaker for the Gateway (or perhaps more likely, 40A / 15A / 125A), then it was compliant under option (a). And by adding that 50A breaker, it's no longer compliant. In this case, it's a technical violation that doesn't actually allow the main panel bus to be overloaded.
Cheers, Wayne