The Supreme Court held on Monday that the government can block non-citizens who are in the US under a program that temporarily protects them from deportation in certain situations from applying for a green card if they entered the country unlawfully.