What you're doing is merely dividing a room into two spaces in an open loft sleeping area. Will both have egress window? Does one have to go through one bedroom to go to the rest of the house? That probably won't qualify as 2 bedrooms with or without permits. But if permitted, you can go to the county records office and ask for a change in how the property is described, whether the division qualifies it to be 2-bedroom property.
Here's an article you may want to read: Bob Vila's "What makes a bedroom a bedroom?"