From what I read, the similarity ends in “both involved trains”. This chain of attacks seems to have used short metal pipes (“Footage published by Dutch public broadcaster NOS on Tuesday showed police carrying what appeared to be metal pipes - about 1.5 metres (5ft) long”) to short a connection, making safety systems signal “there’s a train there”, stopping trains further up the track.
The France incident involved a piece of rails heavy enough to cause derailment (“The rail fragment was estimated to weigh between 250 and 300 kilograms”)
My money is on this being a rogue farmers protest.