NEW YORK (AP) — When it comes to illegal immigrants, the U.S. government is getting information however it can — even going through a teenager’s school records, in one case.

The government has subpoenaed the records of a New York City high school senior born in Mali.

READ MORE: Drug Trafficking Ring Shipped Cocaine To New York Inside Children's Lunch Boxes, Investigators Say

The 19-year-old, Ousmane Coulibaly, grew up poor and estranged from his parents. He’s now staying in a New York homeless shelter while he tries to graduate and obtain special immigration status.

His lawyers tell The New York Times the subpeona violates due process and equal protection rights that courts have accorded to students, regardless of immigration status.

READ MORE: Nonprofits Now Have New Home In Brooklyn, Thanks To Transformation Of Bedford-Union Armory

A U.S. District Court judge issued a temporary restraining order blocking release of the records pending a hearing on Sept. 27.

Coulibaly came to the U.S. on a tourist visa in 2007, and stayed.

MORE NEWS: Candidate Conversations: Curtis Sliwa

(Copyright 2010 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)