Court heard site was within 300m of a school, and on the day of inspection by Cork County Council, schoolchildren were walking by the site