This headline is misleading. According to the article schools CAN still use Chromebooks but they cannot enable the tracking functionality on them.
"From 1 August 2024 onwards, Danish schools will no longer be allowed to enable Chromebooks and Google platforms to collect students' personal data for processing."