'Legislation states if children over the age of 10 of the opposite sex are sharing a bedroom they should have their own rooms – otherwise this is considered overcrowding.'
Even the website you linked says explicitly that it's not illegal for children to share a bedroom, even if they are over the age of 10 and of opposite sex. It's considered overcrowded for purposes of various statistics but it's not illegal in the slightest.