Using Ola Hallengren’s Maintenance in SQL Server 2016 with TDE Enabled databases and compression
According to Ola's SQL Server Maintenance Solution Version History
(highlighting mine)


  25 Sep 2016
  
  Improved handling of databases with Transparent Data Encryption (TDE)
  together with backup compression. If you have databases with TDE in
  SQL Server 2014 and earlier, backup compression is not used. If you
  have databases with TDE in SQL Server 2016, backup compression is used
  if MAXTRANSFERSIZE is greater than 65536.


You should make sure that you can restore these compressed backups.  There were some problems as referenced by this Stack Exchange post (Unable to restore TDE enabled database when MAXTRANSFERSIZE and CHECKSUM is used)