I was worried about the same thing with my Jerry cans. Turns out the spouts on diesel specific jerry cans (the yellow plastic ones) are a bigger diameter than ones specific for petrol (the red ones) so no risk of tripping the misfuel device ...as long as you use the correct cans.

