Los Angeles school police will set up a safety perimeter around campuses and school events — including graduations — to keep federal immigration agents away from students, employees and families, school officials said Monday.

“We stand strongly on the right side of law,” Carvalho said. “Every student in our community, every student across the country, has a constitutional right to a free public education of high quality, without threat. Every one of our students, independently of their immigration status, has a right to a free meal in our schools. Every one of our children, no questions asked, has a right to counseling, social emotional support, mental support.”

Carvalho did not rule out the potential for a standoff involving school police if federal officers attempted to enter a school or an off-campus school event — such as a graduation ceremony — without a judicial warrant.

“I think that would be a preposterous condition,” Carvalho said. “But then again, we have seen preposterous actions taken recently by this administration. We are prepared for everything,” Carvalho said, adding that he’s in consultation on contingency plans with L.A. Mayor Karen Bass.