Yep
What Nortonist 592 said
You need to be able to turn it off from the bars for fuel classes
It doesn't matter what's in the tank, it's what class you run
So, drill a hole in the handle on the tap and run a cable up to the bars.
you could use a choke control, a decomp lever or a throttle off an old lawn mower
As long as you can turn it off without your hands leaving the handle bars
So, if you have to reach down to turn it off it is not legal for fuel class
Running a solenoid can be problematic on an older bike as you may not make enough electricity to keep it turned on
Have a look at the solution this guy has used
http://www.landracing.com/forum/index.php/topic,8744.0.htmlG