Schools can ignore trans pupils’ gender preference, claims attorney general But heads say claims schools can ban trans pupils from toilets or wearing uniform of their chosen gender just ‘muddy water’