It is difficult to say definitively, as some cats may be able to simply squeeze through small openings, while others may be more reluctant to cross boundaries. If your cat seems particularly interested in the room, a baby gate may not be enough to keep them out completely and you might want to consider consulting with a professional pet trainer or behaviorist.