There's another requirement in the building code. In the 2000 IRC there needs to be a window or other means of egress. The size and sill height is very specific. If it doesn't have the proper egress it can't be called a bedroom!