The school leaders taking unprecedented action to ensure a safe learning environment with amenities in good working order face legal threats from Labour council.