Good point!
I know of a guy who built/owns a solar car, which he can't legally drive on public roads in Ontario, but can (and has) legally driven in other provinces/states.
Here's his car pictured beside my electric ForkenSwift from back in the day:
From:
ForkenSwift meets a solar car (Xof1)