Biggest problem would be if the tank moved and pressed against the positive terminal of the solenoid... eg: if the bike was dropped. Worst case scenario goes something like:

*drop* "bugger" *leak* *spark* *BOOM!*