What do you think the best ways are to keep a cat out of a Christmas tree?

Surrender honestly. Accept them as a decoration.

You could spritz the tree with citronella spray or something. It’s not good for them, don’t let them ingest it, but it is a repellent. Don’t spray the electric lights and such.

Or close off the room if possible.