Nursing homes, factories and immigrants prepare for court ruling impact