Mathieu van der Poel showcased his versatility by clinching victory at the European Mountain Bike Championships.