Can the mandatory requirement of swimming pool cover be exempted if an air-souce heat pump is used for pool heating?

The pool is heated to 30 ºC, is the pool cover mandatory in this case.?