Nearly 13,000 toilets and more than 5,000 changing rooms may need changing under the Supreme Court ruling