New tech transforms historic European castles