In the United Kingdom, racial segregation occurred in pubs, workplaces, shops and other commercial premises, which operated a colour bar where non-white customers were banned from using certain rooms and facilities. Segregation also operated in the 20th century in certain professions, in housing and at Buckingham Palace. There were no British laws requiring racial segregation, but until 1965, there were no laws prohibiting racial segregation either.