The unique thing about the Handa Dashi Matsuri is that although all the floats are religious, it's not a religious festival.
It's just a tourist event started in 1979. The local Junior Chamber of Commerce started the festival to mark its 15th anniversary. From 1987, they decided to hold it every 5 years. So it is held on years ending with a "2" or "7."