Kubrick was making self referential in jokes since A Clockwork Orange, so I wouldn't put anything past him.
I thought 237 was picked because the Timberline Lodge didn't want Kubrick using the room number (217) King used in the novel? The Timberline has no room 237...